Browse Source

Merge pull request #2371 from nocodb/fix/2370-sync-user-exist

fix(sync): handle existing user on project
pull/2368/head
navi 2 years ago committed by GitHub
parent
commit
297c17f131
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      packages/nocodb/src/lib/meta/api/sync/helpers/job.ts

1
packages/nocodb/src/lib/meta/api/sync/helpers/job.ts

@ -1632,6 +1632,7 @@ export default async (
email: value.email, email: value.email,
roles: userRoles[value.permissionLevel] roles: userRoles[value.permissionLevel]
}) })
.catch(e => e.response?.data?.msg ? logBasic(`NOTICE: ${e.response.data.msg}`) : console.log(e))
); );
recordPerfStats(_perfStart, 'auth.projectUserAdd'); recordPerfStats(_perfStart, 'auth.projectUserAdd');
} }

Loading…
Cancel
Save