fix type error
This commit is contained in:
parent
6b26ce3768
commit
da0804eb17
1 changed files with 1 additions and 1 deletions
|
@ -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[] = [];
|
||||||
|
|
Loading…
Reference in a new issue