chore(backend): fix typo in warning message (#10284)
This commit is contained in:
parent
c717f1f3a9
commit
a81ebc5966
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue