Skip to content

Commit

Permalink
Fix to router issue for dashboard page
Browse files Browse the repository at this point in the history
  • Loading branch information
Reeyan Khimani authored and Reeyan Khimani committed Oct 20, 2024
1 parent 83bcd74 commit 4cd325c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/middleware.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import { NextResponse } from "next/server";

export async function middleware(req) {
const cookie = req.cookies.get("connect.sid");
const cookie = await req.cookies.get("connect.sid");

const res = await fetch("https://api.devdogs.uga.edu/auth/session", {
method: "GET",
Expand Down

0 comments on commit 4cd325c

Please sign in to comment.