From 98a99c6227bb2b1f1040284ff888c508c23edad1 Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Thu, 9 Jun 2022 19:00:30 +0800 Subject: [PATCH] chore: revise error msg --- packages/nocodb/src/lib/meta/api/projectUserApis.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nocodb/src/lib/meta/api/projectUserApis.ts b/packages/nocodb/src/lib/meta/api/projectUserApis.ts index c10cb81988..f0f5c00965 100644 --- a/packages/nocodb/src/lib/meta/api/projectUserApis.ts +++ b/packages/nocodb/src/lib/meta/api/projectUserApis.ts @@ -58,7 +58,7 @@ async function userInvite(req, res, next): Promise { const projectUser = await ProjectUser.get(req.params.projectId, user.id); if (projectUser) { NcError.badRequest( - `${user.email} has been added to this project already` + `${user.email} with role ${projectUser.roles} already exists in this project` ); }