diff --git a/packages/backend/src/queue/index.ts b/packages/backend/src/queue/index.ts index 24c0e1f237..94055e9c5a 100644 --- a/packages/backend/src/queue/index.ts +++ b/packages/backend/src/queue/index.ts @@ -1,4 +1,4 @@ -import * as httpSignature from 'http-signature'; +import httpSignature from 'http-signature'; import config from '@/config/index.js'; import { envOption } from '../env.js'; diff --git a/packages/backend/src/queue/types.ts b/packages/backend/src/queue/types.ts index 7363c2c727..de5f5d1396 100644 --- a/packages/backend/src/queue/types.ts +++ b/packages/backend/src/queue/types.ts @@ -1,7 +1,7 @@ import { DriveFile } from '@/models/entities/drive-file.js'; import { User } from '@/models/entities/user.js'; import { IActivity } from '@/remote/activitypub/type.js'; -import * as httpSignature from 'http-signature'; +import httpSignature from 'http-signature'; export type DeliverJobData = { /** Actor */ diff --git a/packages/backend/src/server/activitypub.ts b/packages/backend/src/server/activitypub.ts index 45eec3d26c..21be0a2517 100644 --- a/packages/backend/src/server/activitypub.ts +++ b/packages/backend/src/server/activitypub.ts @@ -1,6 +1,6 @@ import Router from '@koa/router'; import json from 'koa-json-body'; -import * as httpSignature from 'http-signature'; +import httpSignature from 'http-signature'; import { renderActivity } from '@/remote/activitypub/renderer/index.js'; import renderNote from '@/remote/activitypub/renderer/note.js';