mirror of
https://github.com/misskey-dev/misskey.git
synced 2025-02-05 04:47:04 +09:00
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
Block a user