diff --git a/packages/backend/src/server/activitypub.ts b/packages/backend/src/server/activitypub.ts index 6bec78f8c..9ddda96d9 100644 --- a/packages/backend/src/server/activitypub.ts +++ b/packages/backend/src/server/activitypub.ts @@ -28,7 +28,7 @@ function inbox(ctx: Router.RouterContext): void { let signature; try { - signature = httpSignature.parseRequest(ctx.req, { 'headers': [] }); + signature = httpSignature.parseRequest(ctx.req); } catch (e) { ctx.status = 401; return;