Spaces:
Runtime error
Runtime error
Andrew commited on
Commit ·
1bf00b4
1
Parent(s): 42daa47
Make isEnterprise optional in HF org membership parsing
Browse files
src/routes/login/callback/updateUser.ts
CHANGED
|
@@ -45,7 +45,7 @@ export async function updateUser(params: {
|
|
| 45 |
name: z.string(),
|
| 46 |
picture: z.string(),
|
| 47 |
preferred_username: z.string(),
|
| 48 |
-
isEnterprise: z.boolean(),
|
| 49 |
})
|
| 50 |
)
|
| 51 |
.optional(),
|
|
@@ -69,7 +69,7 @@ export async function updateUser(params: {
|
|
| 69 |
name: string;
|
| 70 |
picture: string;
|
| 71 |
preferred_username: string;
|
| 72 |
-
isEnterprise: boolean;
|
| 73 |
}>;
|
| 74 |
} & Record<string, string>;
|
| 75 |
|
|
|
|
| 45 |
name: z.string(),
|
| 46 |
picture: z.string(),
|
| 47 |
preferred_username: z.string(),
|
| 48 |
+
isEnterprise: z.boolean().optional(),
|
| 49 |
})
|
| 50 |
)
|
| 51 |
.optional(),
|
|
|
|
| 69 |
name: string;
|
| 70 |
picture: string;
|
| 71 |
preferred_username: string;
|
| 72 |
+
isEnterprise?: boolean;
|
| 73 |
}>;
|
| 74 |
} & Record<string, string>;
|
| 75 |
|