We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df36823 commit c3ae01fCopy full SHA for c3ae01f
src/app/api/selected-papers/route.ts
@@ -2,6 +2,8 @@ import { NextResponse } from "next/server";
2
import { connectToDatabase } from "@/lib/mongoose";
3
import Paper from "@/db/papers";
4
5
+export const dynamic = "force-dynamic";
6
+
7
export async function GET() {
8
try {
9
await connectToDatabase();
0 commit comments