fix type error
This commit is contained in:
parent
6b26ce3768
commit
da0804eb17
|
@ -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[] = [];
|
||||
|
|
Loading…
Reference in New Issue