mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-12-28 21:28:19 +01:00
allow Update activities for non-note posts
This commit is contained in:
parent
41536480ce
commit
bcc20d6dc4
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue