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
1 changed files with 1 additions and 1 deletions

View File

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