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

View file

@ -290,7 +290,7 @@ export class NoteEntityService implements OnModuleInit {
const meId = me ? me.id : null; const meId = me ? me.id : null;
const note = typeof src === 'object' ? src : await this.notesRepository.findOneOrFail({ where: { id: src }, relations: ['user'] }); 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; let text = note.text;