allow Update activities for non-note posts

This commit is contained in:
Hazelnoot 2024-11-03 16:26:00 -05:00
parent 41536480ce
commit bcc20d6dc4

View file

@ -803,7 +803,7 @@ export class ApInboxService {
} else if (getApType(object) === 'Question') {
await this.apQuestionService.updateQuestion(object, actor, resolver).catch(err => console.error(err));
return 'ok: Question updated';
} else if (getApType(object) === 'Note') {
} else if (isPost(object)) {
await this.apNoteService.updateNote(object, actor, resolver).catch(err => console.error(err));
return 'ok: Note updated';
} else {