From 44a1b6d5c033f571811dcd62eafa4c55cd2c6763 Mon Sep 17 00:00:00 2001 From: okayurisotto Date: Sun, 2 Jul 2023 18:20:44 +0900 Subject: [PATCH] refactor(`ApPersonService.ts`): `eslint-disable-next-line` --- packages/backend/src/core/activitypub/models/ApPersonService.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/backend/src/core/activitypub/models/ApPersonService.ts b/packages/backend/src/core/activitypub/models/ApPersonService.ts index 3d4afbb26d..533e9d4999 100644 --- a/packages/backend/src/core/activitypub/models/ApPersonService.ts +++ b/packages/backend/src/core/activitypub/models/ApPersonService.ts @@ -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;