mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-25 00:49:17 +09:00
refactor(ApPersonService.ts
): eslint-disable-next-line
This commit is contained in:
parent
39ad3da62d
commit
44a1b6d5c0
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user