test: update debug lines

This commit is contained in:
Mar0xy 2023-11-01 00:26:21 +01:00
parent 232ac0d94e
commit 86db03cdd6
No known key found for this signature in database
GPG key ID: 56569BBE47D2C828
2 changed files with 1 additions and 3 deletions

View file

@ -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);
} }

View file

@ -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) {