allow Update activities for non-note posts
This commit is contained in:
parent
41536480ce
commit
bcc20d6dc4
|
@ -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 New Issue