diff --git a/packages/app/src/Cache/EventInteractionCache.ts b/packages/app/src/Cache/EventInteractionCache.ts index 3d917ec1..c405fc19 100644 --- a/packages/app/src/Cache/EventInteractionCache.ts +++ b/packages/app/src/Cache/EventInteractionCache.ts @@ -1,7 +1,6 @@ import { FeedCache } from "@snort/shared"; import { db, EventInteraction } from "@/Db"; -import { sha256 } from "@/Utils"; import { LoginStore } from "@/Utils/Login"; export class EventInteractionCache extends FeedCache { @@ -10,7 +9,7 @@ export class EventInteractionCache extends FeedCache { } key(of: EventInteraction): string { - return sha256(of.event + of.by); + return `${of.event}:${of.by}`; } override async preload(): Promise {