mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-26 19:23:09 +02:00
test: update debug lines
This commit is contained in:
parent
232ac0d94e
commit
86db03cdd6
2 changed files with 1 additions and 3 deletions
|
@ -819,8 +819,6 @@ export class NoteCreateService implements OnApplicationShutdown {
|
||||||
private index(note: MiNote) {
|
private index(note: MiNote) {
|
||||||
if (note.text == null && note.cw == null) return;
|
if (note.text == null && note.cw == null) return;
|
||||||
|
|
||||||
console.error('createIndex');
|
|
||||||
|
|
||||||
this.searchService.indexNote(note);
|
this.searchService.indexNote(note);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -113,7 +113,7 @@ export class SearchService {
|
||||||
if (note.text == null && note.cw == null) return;
|
if (note.text == null && note.cw == null) return;
|
||||||
if (!['home', 'public'].includes(note.visibility)) return;
|
if (!['home', 'public'].includes(note.visibility)) return;
|
||||||
|
|
||||||
console.error('indexNote');
|
console.error(note);
|
||||||
|
|
||||||
if (this.meilisearch) {
|
if (this.meilisearch) {
|
||||||
switch (this.meilisearchIndexScope) {
|
switch (this.meilisearchIndexScope) {
|
||||||
|
|
Loading…
Reference in a new issue