From 86db03cdd6e62604c68b81e3cc8c121a99ae47ea Mon Sep 17 00:00:00 2001 From: Mar0xy Date: Wed, 1 Nov 2023 00:26:21 +0100 Subject: [PATCH] test: update debug lines --- packages/backend/src/core/NoteCreateService.ts | 2 -- packages/backend/src/core/SearchService.ts | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/backend/src/core/NoteCreateService.ts b/packages/backend/src/core/NoteCreateService.ts index c452892a3..34c8d4f8b 100644 --- a/packages/backend/src/core/NoteCreateService.ts +++ b/packages/backend/src/core/NoteCreateService.ts @@ -819,8 +819,6 @@ export class NoteCreateService implements OnApplicationShutdown { private index(note: MiNote) { if (note.text == null && note.cw == null) return; - console.error('createIndex'); - this.searchService.indexNote(note); } diff --git a/packages/backend/src/core/SearchService.ts b/packages/backend/src/core/SearchService.ts index 3c5021392..906b91877 100644 --- a/packages/backend/src/core/SearchService.ts +++ b/packages/backend/src/core/SearchService.ts @@ -113,7 +113,7 @@ export class SearchService { if (note.text == null && note.cw == null) return; if (!['home', 'public'].includes(note.visibility)) return; - console.error('indexNote'); + console.error(note); if (this.meilisearch) { switch (this.meilisearchIndexScope) {