chore(backend): fix typo in warning message (#10284)

This commit is contained in:
Kisaragi 2023-03-10 13:21:23 +09:00 committed by GitHub
parent c717f1f3a9
commit a81ebc5966
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -180,7 +180,7 @@ export class ApNoteService {
const reply: Note | null = note.inReplyTo const reply: Note | null = note.inReplyTo
? await this.resolveNote(note.inReplyTo, resolver).then(x => { ? await this.resolveNote(note.inReplyTo, resolver).then(x => {
if (x == null) { if (x == null) {
this.logger.warn('Specified inReplyTo, but nout found'); this.logger.warn('Specified inReplyTo, but not found');
throw new Error('inReplyTo not found'); throw new Error('inReplyTo not found');
} else { } else {
return x; return x;