Skip to content

Commit 311a3c7

Browse files
changes
1 parent c3ae01f commit 311a3c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/app/api/selected-papers/route.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export async function GET() {
1616
{
1717
message: "No selected papers found.",
1818
},
19-
{ status: 404, headers: { "Cache-Control": "no-store" } },
19+
{ status: 404 },
2020
);
2121
}
2222
return NextResponse.json(selectedPapers, {
@@ -29,7 +29,7 @@ export async function GET() {
2929
{
3030
error: "Failed to fetch papers.",
3131
},
32-
{ status: 500, headers: { "Cache-Control": "no-store" } },
32+
{ status: 500 },
3333
);
3434
}
3535
}

0 commit comments

Comments
 (0)