fix ap/show

This commit is contained in:
syuilo 2024-11-21 09:25:18 +09:00
parent 9fdabe3666
commit 0f59adc436

View file

@ -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, resolver) : null,
);
}