Skip to content

Commit

Permalink
Debugging Upstash #4
Browse files Browse the repository at this point in the history
  • Loading branch information
david emioma committed Apr 2, 2024
1 parent 641e400 commit 80300bb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app/api/cart/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,6 @@ export async function GET(request: Request) {
const cachedCart = await redis.get(`${user.id}-cart`);

if (cachedCart) {
console.log("Cached cart was returned");

return NextResponse.json(cachedCart);
}

Expand Down

0 comments on commit 80300bb

Please sign in to comment.