chore: remove an extra equal sign

This commit is contained in:
Mar0xy 2023-09-26 13:29:24 +02:00
parent c4351c469a
commit 4a3c813d3e
No known key found for this signature in database
GPG Key ID: 56569BBE47D2C828
1 changed files with 1 additions and 1 deletions

View File

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