diff --git a/app/api/internal/room/[roomId]/vote/route.ts b/app/api/internal/room/[roomId]/vote/route.ts index a68a122..a6ccbd4 100644 --- a/app/api/internal/room/[roomId]/vote/route.ts +++ b/app/api/internal/room/[roomId]/vote/route.ts @@ -1,6 +1,5 @@ import { type NextRequest, NextResponse } from "next/server"; -import { invalidateCache } from "@/_lib/redis"; import { db } from "@/_lib/db"; import { votes } from "@/_lib/schema"; import { createId } from "@paralleldrive/cuid2"; diff --git a/app/api/internal/room/[roomId]/votes/route.ts b/app/api/internal/room/[roomId]/votes/route.ts index c67f9b2..2334f27 100644 --- a/app/api/internal/room/[roomId]/votes/route.ts +++ b/app/api/internal/room/[roomId]/votes/route.ts @@ -1,6 +1,5 @@ import { NextResponse } from "next/server"; -import { fetchCache, setCache } from "@/_lib/redis"; import { db } from "@/_lib/db"; import { votes } from "@/_lib/schema"; import { eq } from "drizzle-orm";