fix lint (possibly 'null

This commit is contained in:
tamaina 2024-10-15 10:41:40 +09:00
parent 2d173156fb
commit bf8073e45e
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ export class Resolver {
const server = await this.federatedInstanceService.fetch(host); const server = await this.federatedInstanceService.fetch(host);
const object = (this.user 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; : await this.httpRequestService.getActivityJson(value)) as IObject;
if ( if (