forked from mirror/misskey
refactor(ApNoteService.ts
): function return type
This commit is contained in:
parent
aeefb843a8
commit
1246382de4
@ -71,7 +71,7 @@ export class ApNoteService {
|
||||
}
|
||||
|
||||
@bindThis
|
||||
public validateNote(object: IObject, uri: string) {
|
||||
public validateNote(object: IObject, uri: string): Error | null {
|
||||
const expectHost = this.utilityService.extractDbHost(uri);
|
||||
|
||||
if (object == null) {
|
||||
|
Loading…
Reference in New Issue
Block a user