From 9911df12afd9b6755b32794e3fadccb07cdb6d83 Mon Sep 17 00:00:00 2001 From: Namekuji Date: Sun, 30 Jul 2023 21:59:20 -0400 Subject: [PATCH] wip: remove unused imports, close #10555 --- packages/backend/src/models/repositories/user.ts | 2 +- packages/backend/src/remote/activitypub/models/person.ts | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/backend/src/models/repositories/user.ts b/packages/backend/src/models/repositories/user.ts index 2e09ed58a3..83d6ed3073 100644 --- a/packages/backend/src/models/repositories/user.ts +++ b/packages/backend/src/models/repositories/user.ts @@ -37,7 +37,7 @@ import { UserSecurityKeys, } from "../index.js"; import type { Instance } from "../entities/instance.js"; -import { userByIdCache, userDenormalizedCache } from "@/services/user-cache.js"; +import { userDenormalizedCache } from "@/services/user-cache.js"; const userInstanceCache = new Cache( "userInstance", diff --git a/packages/backend/src/remote/activitypub/models/person.ts b/packages/backend/src/remote/activitypub/models/person.ts index dcdca1ee41..592adcc32e 100644 --- a/packages/backend/src/remote/activitypub/models/person.ts +++ b/packages/backend/src/remote/activitypub/models/person.ts @@ -30,7 +30,6 @@ import { truncate } from "@/misc/truncate.js"; import { StatusError } from "@/misc/fetch.js"; import { uriPersonCache, - userByIdCache, userDenormalizedCache, } from "@/services/user-cache.js"; import { publishInternalEvent } from "@/services/stream.js";