diff --git a/packages/backend/src/server/api/endpoints/blocking/create.ts b/packages/backend/src/server/api/endpoints/blocking/create.ts index c4cf3e4e16..4984866470 100644 --- a/packages/backend/src/server/api/endpoints/blocking/create.ts +++ b/packages/backend/src/server/api/endpoints/blocking/create.ts @@ -2,7 +2,7 @@ import create from "@/services/blocking/create.js"; import define from "../../define.js"; import { ApiError } from "../../error.js"; import { getUser } from "../../common/getters.js"; -import { Blockings, NoteWatchings, Users } from "@/models/index.js"; +import { NoteWatchings, Users } from "@/models/index.js"; import { HOUR } from "@/const.js"; import { UserBlockedCache } from "@/misc/cache.js"; diff --git a/packages/backend/src/services/blocking/create.ts b/packages/backend/src/services/blocking/create.ts index 86467b9195..6bf5587f93 100644 --- a/packages/backend/src/services/blocking/create.ts +++ b/packages/backend/src/services/blocking/create.ts @@ -17,10 +17,9 @@ import { } from "@/models/index.js"; import { perUserFollowingChart } from "@/services/chart/index.js"; import { genId } from "@/misc/gen-id.js"; -import { IdentifiableError } from "@/misc/identifiable-error.js"; import { getActiveWebhooks } from "@/misc/webhook-cache.js"; import { webhookDeliver } from "@/queue/index.js"; -import { UserBlockedCache } from "@/misc/cache"; +import { UserBlockedCache } from "@/misc/cache.js"; export default async function (blocker: User, blockee: User) { await Promise.all([