mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-05-01 02:56:59 +00: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…
Add table
Reference in a new issue