From bf8073e45e0e5a0ba3d6dba2df246da2097432ba Mon Sep 17 00:00:00 2001 From: tamaina Date: Tue, 15 Oct 2024 10:41:40 +0900 Subject: [PATCH] fix lint (possibly 'null --- packages/backend/src/core/activitypub/ApResolverService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/core/activitypub/ApResolverService.ts b/packages/backend/src/core/activitypub/ApResolverService.ts index 20ca4ed810..e78308ae6e 100644 --- a/packages/backend/src/core/activitypub/ApResolverService.ts +++ b/packages/backend/src/core/activitypub/ApResolverService.ts @@ -106,7 +106,7 @@ export class Resolver { const server = await this.federatedInstanceService.fetch(host); const object = (this.user - ? await this.apRequestService.signedGet(value, this.user, server.httpMessageSignaturesImplementationLevel) as IObject + ? await this.apRequestService.signedGet(value, this.user, server?.httpMessageSignaturesImplementationLevel ?? '00') as IObject : await this.httpRequestService.getActivityJson(value)) as IObject; if (