From a45838aebc761b3a046d4072841bc4b9a32c60af Mon Sep 17 00:00:00 2001 From: Izan Gil <66965250+SrIzan10@users.noreply.github.com> Date: Fri, 24 May 2024 18:07:04 +0200 Subject: [PATCH] chore: make the route dynamic --- src/app/getBots/route.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/getBots/route.ts b/src/app/getBots/route.ts index d33e07d..bf53792 100644 --- a/src/app/getBots/route.ts +++ b/src/app/getBots/route.ts @@ -1,5 +1,7 @@ import prisma from "@/lib/db"; +export const dynamic = 'force-dynamic' + export async function GET() { const dbFetch = await prisma.bot.findMany({ where: {