Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/app/api/auth/[...nextauth]/route.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { handlers } from "@src/auth";
import { type NextRequest } from "next/server";
import type { NextRequest } from "next/server";

export const GET = handlers.GET;

Expand All @@ -18,8 +18,8 @@ export const GET = handlers.GET;
* nonce from sessionStorage (stored by DesktopOAuthStart) for the Tauri flow,
* or redirects to /projects for plain web users.
*/
export async function POST(req: NextRequest, context: unknown) {
const response = await handlers.POST(req, context as never);
export async function POST(req: NextRequest) {
const response = await handlers.POST(req);

if (new URL(req.url).pathname === "/api/auth/callback/apple") {
const location = response.headers.get("Location");
Expand Down
Loading