diff options
| author | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-07-07 08:24:16 +0000 |
|---|---|---|
| committer | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-07-07 08:24:16 +0000 |
| commit | 44bdb81a60d3a44ba7e379f3c20fe6d8fb284339 (patch) | |
| tree | b5c916a1c7ea37573f9bba7fefcef60a3b8aec20 /lib/users/auth/verifyCredentails.ts | |
| parent | 90f79a7a691943a496f67f01c1e493256070e4de (diff) | |
(대표님) 변경사항 20250707 12시 30분
Diffstat (limited to 'lib/users/auth/verifyCredentails.ts')
| -rw-r--r-- | lib/users/auth/verifyCredentails.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/users/auth/verifyCredentails.ts b/lib/users/auth/verifyCredentails.ts index ff3cd0e3..42e6dac3 100644 --- a/lib/users/auth/verifyCredentails.ts +++ b/lib/users/auth/verifyCredentails.ts @@ -29,7 +29,7 @@ export type AuthError = export interface AuthResult { success: boolean; user?: { - id: string; + id: number; name: string; email: string; imageUrl?: string | null; @@ -370,7 +370,7 @@ export async function verifyExternalCredentials( return { success: true, user: { - id: user.id.toString(), + id: user.id, name: user.name, email: user.email, imageUrl: user.imageUrl, @@ -541,7 +541,7 @@ export async function authenticateWithSGips( ): Promise<{ success: boolean; user?: { - id: string; + id: number; name: string; email: string; imageUrl?: string | null; @@ -594,7 +594,7 @@ export async function authenticateWithSGips( return { success: true, user: { - id: user.id.toString(), + id: user.id, name: user.name, email: user.email, imageUrl: user.imageUrl, |
