From 39ba151fd75e6b855910eeaf43d40e0d620378ae Mon Sep 17 00:00:00 2001 From: Atridad Lahiji Date: Tue, 3 Oct 2023 17:07:15 -0600 Subject: [PATCH] Lint --- app/api/internal/room/[roomId]/vote/route.ts | 1 - app/api/internal/room/[roomId]/votes/route.ts | 1 - 2 files changed, 2 deletions(-) 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";