refactor(ApPersonService.ts): eslint-disable-next-line

This commit is contained in:
okayurisotto 2023-07-02 18:20:44 +09:00
parent 39ad3da62d
commit 44a1b6d5c0

View File

@ -230,6 +230,7 @@ export class ApPersonService implements OnModuleInit {
throw new StatusError('cannot resolve local user', 400, 'cannot resolve local user');
}
// eslint-disable-next-line no-param-reassign
if (resolver == null) resolver = this.apResolverService.createResolver();
const object = await resolver.resolve(uri) as any;