1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-17 18:25:30 +02:00

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
public renderAnnounce(object: string | IObject, note: Note): IAnnounce {
public renderAnnounce(object: string | IObject | null, note: Note): IAnnounce {
const attributedTo = this.userEntityService.genLocalUserUri(note.userId);
let to: string[] = [];