diff --git a/packages/nc-gui-v2/components/tabs/auth/UserManagement.vue b/packages/nc-gui-v2/components/tabs/auth/UserManagement.vue
index 46ecad4e8b..2f16a8710b 100644
--- a/packages/nc-gui-v2/components/tabs/auth/UserManagement.vue
+++ b/packages/nc-gui-v2/components/tabs/auth/UserManagement.vue
@@ -128,7 +128,7 @@ const resendInvite = async (user: User) => {
if (!project.value?.id) return
try {
- await api.auth.projectUserResendInvite(project.value.id, user.id, null)
+ await api.auth.projectUserResendInvite(project.value.id, user.id)
// Invite email sent successfully
message.success(t('msg.success.inviteEmailSent'))
@@ -178,8 +178,8 @@ watchDebounced(searchText, () => loadUsers(), { debounce: 300, maxWait: 600 })
This action will remove this user from this project
-
{{ $t('general.cancel') }}
-
{{ $t('general.confirm') }}
+
{{ $t('general.cancel') }}
+
{{ $t('general.confirm') }}
@@ -199,7 +199,8 @@ watchDebounced(searchText, () => loadUsers(), { debounce: 300, maxWait: 600 })
{{ $t('general.reload') }}
-
+
{{ $t('activity.inviteTeam') }}
@@ -224,7 +225,8 @@ watchDebounced(searchText, () => loadUsers(), { debounce: 300, maxWait: 600 })
-
+
{{ user.email }}
diff --git a/packages/nocodb-sdk/src/lib/Api.ts b/packages/nocodb-sdk/src/lib/Api.ts
index 9eb28e75b7..15647089b9 100644
--- a/packages/nocodb-sdk/src/lib/Api.ts
+++ b/packages/nocodb-sdk/src/lib/Api.ts
@@ -1091,14 +1091,11 @@ export class Api<
projectUserResendInvite: (
projectId: string,
userId: string,
- data: any,
params: RequestParams = {}
) =>
this.request
({
path: `/api/v1/db/meta/projects/${projectId}/users/${userId}/resend-invite`,
method: 'POST',
- body: data,
- type: ContentType.Json,
format: 'json',
...params,
}),
diff --git a/scripts/sdk/swagger.json b/scripts/sdk/swagger.json
index 0080db7fc9..5e8b6b1f02 100644
--- a/scripts/sdk/swagger.json
+++ b/scripts/sdk/swagger.json
@@ -5562,14 +5562,7 @@
"tags": [
"Auth"
],
- "description": "Resend Invitation to a specific user",
- "requestBody": {
- "content": {
- "application/json": {
- "schema": {}
- }
- }
- }
+ "description": "Resend Invitation to a specific user"
}
}
},
@@ -7734,7 +7727,10 @@
"type": "string"
},
"input": {
- "type": ["string", "null"]
+ "type": [
+ "string",
+ "null"
+ ]
},
"creator": {
"type": "string"