Functional cart and balance display
This commit is contained in:
@@ -16,6 +16,9 @@ export async function GET() {
|
||||
item: { select: { stock: true } },
|
||||
},
|
||||
});
|
||||
// and cache no store header
|
||||
|
||||
return NextResponse.json(sellables);
|
||||
return NextResponse.json(sellables, {
|
||||
headers: { "Cache-Control": "no-store" },
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user