Browse Source

refactor(nocodb): return message

pull/5269/head
Wing-Kam Wong 2 years ago
parent
commit
61d9d62e84
  1. 6
      packages/nocodb/src/lib/services/projectUser.svc.ts

6
packages/nocodb/src/lib/services/projectUser.svc.ts

@ -149,7 +149,7 @@ export async function userInvite(param: {
if (emails.length === 1) {
return {
msg: 'success',
msg: 'The user has been invited successfully',
};
} else {
return { invite_token, emails, error };
@ -208,6 +208,10 @@ export async function projectUserUpdate(param: {
description: `updated roles for ${user.email} with ${param.projectUser.roles} `,
ip: param.req.clientIp,
});
return {
msg: 'User has been updated successfully',
};
}
export async function projectUserDelete(param: {

Loading…
Cancel
Save