refactor(`ApNoteService.ts`): function return type

This commit is contained in:
okayurisotto 2023-07-02 13:35:55 +09:00
parent aeefb843a8
commit 1246382de4
1 changed files with 1 additions and 1 deletions

View File

@ -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) {