Skip to content

Commit

Permalink
Minor regression fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rsimon committed Dec 4, 2024
1 parent 9b1cc77 commit 1395c25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/[lang]/projects/[project]/export/pdf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,9 @@ const exportForAssignment = async (
);
}

export const GET: APIRoute = async ({ params, cookies, url }) => {
export const GET: APIRoute = async ({ request, params, cookies, url }) => {
// Verify if the user is logged in
const supabase = await createSupabaseServerClient(cookies);
const supabase = await createSupabaseServerClient(request, cookies);

const projectId = params.project!;

Expand Down

0 comments on commit 1395c25

Please sign in to comment.