Browse Source

fix(sync): handle existing user on project

Signed-off-by: mertmit <mertmit99@gmail.com>
feat/0523-export-schema
mertmit 2 years ago committed by Raju Udava
parent
commit
5dc233ab16
  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