fix type error

This commit is contained in:
tamaina 2023-07-15 14:05:05 +00:00
parent 6b26ce3768
commit da0804eb17

View file

@ -80,7 +80,7 @@ export class ApRendererService {
} }
@bindThis @bindThis
public renderAnnounce(object: string | IObject, note: Note): IAnnounce { public renderAnnounce(object: string | IObject | null, note: Note): IAnnounce {
const attributedTo = this.userEntityService.genLocalUserUri(note.userId); const attributedTo = this.userEntityService.genLocalUserUri(note.userId);
let to: string[] = []; let to: string[] = [];