From 879afd94dee46f123fdf8dc77ef86b7097fd4a17 Mon Sep 17 00:00:00 2001 From: Rafi Arrafif Date: Wed, 18 Feb 2026 12:56:29 +0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=A9=B9=20fix:=20resolve=20build=20error?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- features/authCallback/actions/submitProviderCallback.ts | 1 + shared/models/auth/validateAndDecodeJWT.ts | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/features/authCallback/actions/submitProviderCallback.ts b/features/authCallback/actions/submitProviderCallback.ts index 3a0d179..8afb005 100644 --- a/features/authCallback/actions/submitProviderCallback.ts +++ b/features/authCallback/actions/submitProviderCallback.ts @@ -47,6 +47,7 @@ export const submitProviderCallback = async ( } catch (error) { return { success: false, + status: 500, message: "Error submitting provider callback", error: error, }; diff --git a/shared/models/auth/validateAndDecodeJWT.ts b/shared/models/auth/validateAndDecodeJWT.ts index 6c2ef10..96c3ac8 100644 --- a/shared/models/auth/validateAndDecodeJWT.ts +++ b/shared/models/auth/validateAndDecodeJWT.ts @@ -2,7 +2,6 @@ import { backendFetch, BackendResponse } from "@/shared/helpers/backendFetch"; import { redirect } from "next/navigation"; -import { cookies } from "next/headers"; export interface UserSession { id: string;