summaryrefslogtreecommitdiff
path: root/lib/users/auth/verifyCredentails.ts
diff options
context:
space:
mode:
Diffstat (limited to 'lib/users/auth/verifyCredentails.ts')
-rw-r--r--lib/users/auth/verifyCredentails.ts8
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,