1
0

fix: primitive 13: check attribution against actor in notes

This commit is contained in:
Julia Johannesen
2024-11-14 21:17:30 -05:00
parent b9080da75d
commit c04f344049
3 changed files with 48 additions and 29 deletions
@@ -140,7 +140,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
return await this.mergePack(
me,
isActor(object) ? await this.apPersonService.createPerson(getApId(object)) : null,
isPost(object) ? await this.apNoteService.createNote(getApId(object), undefined, true) : null,
isPost(object) ? await this.apNoteService.createNote(getApId(object), undefined, undefined, true) : null,
);
}