diff --git a/packages/backend/src/core/activitypub/models/ApImageService.ts b/packages/backend/src/core/activitypub/models/ApImageService.ts index e0e219244f..b563f2c35f 100644 --- a/packages/backend/src/core/activitypub/models/ApImageService.ts +++ b/packages/backend/src/core/activitypub/models/ApImageService.ts @@ -50,6 +50,8 @@ export class ApImageService { throw new Error('invalid image: url not privided'); } + // TODO? + // const url = getOneApHrefNullable(image.url); if (typeof image.url !== 'string') { throw new Error('invalid image: unexpected type of url: ' + JSON.stringify(image.url)); }