From 4a3c813d3e6c370146f9196a6423347d7c42f52b Mon Sep 17 00:00:00 2001 From: Mar0xy Date: Tue, 26 Sep 2023 13:29:24 +0200 Subject: [PATCH] chore: remove an extra equal sign --- packages/backend/src/core/entities/NoteEntityService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/core/entities/NoteEntityService.ts b/packages/backend/src/core/entities/NoteEntityService.ts index 8892ed748..bcd99548f 100644 --- a/packages/backend/src/core/entities/NoteEntityService.ts +++ b/packages/backend/src/core/entities/NoteEntityService.ts @@ -290,7 +290,7 @@ export class NoteEntityService implements OnModuleInit { const meId = me ? me.id : null; const note = typeof src === 'object' ? src : await this.notesRepository.findOneOrFail({ where: { id: src }, relations: ['user'] }); - const host = note.userHost === null ? this.config.host : note.userHost; + const host = note.userHost == null ? this.config.host : note.userHost; let text = note.text;