cleanup(ApPersonService.ts): deadcode

This commit is contained in:
okayurisotto 2023-07-02 18:08:47 +09:00
parent d3e23d9875
commit c7fd197efc

View file

@ -135,10 +135,6 @@ export class ApPersonService implements OnModuleInit {
private validateActor(x: IObject, uri: string): IActor {
const expectHost = this.punyHost(uri);
if (x == null) {
throw new Error('invalid Actor: object is null');
}
if (!isActor(x)) {
throw new Error(`invalid Actor type '${x.type}'`);
}