mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
Rebase fix + check GRIST_SCIM_USER
This commit is contained in:
@@ -64,7 +64,7 @@ const buildScimRouterv2 = (dbManager: HomeDBManager, installAdmin: InstallAdmin)
|
||||
const newUser = await dbManager.getUserByLoginWithRetry(userProfileToInsert.email, {
|
||||
profile: userProfileToInsert
|
||||
});
|
||||
return toSCIMMYUser(newUser!);
|
||||
return toSCIMMYUser(newUser);
|
||||
} catch (ex) {
|
||||
if (ex instanceof ApiError) {
|
||||
if (ex.status === 409) {
|
||||
|
||||
Reference in New Issue
Block a user