diff --git a/packages/nc-gui/components/dashboard/TreeView/ViewsNode.vue b/packages/nc-gui/components/dashboard/TreeView/ViewsNode.vue index 95415cda72..b1abdc85e7 100644 --- a/packages/nc-gui/components/dashboard/TreeView/ViewsNode.vue +++ b/packages/nc-gui/components/dashboard/TreeView/ViewsNode.vue @@ -293,7 +293,7 @@ function onRef(el: HTMLElement) { diff --git a/packages/nocodb-sdk/src/lib/Api.ts b/packages/nocodb-sdk/src/lib/Api.ts index cce1f8af93..fdae7cb236 100644 --- a/packages/nocodb-sdk/src/lib/Api.ts +++ b/packages/nocodb-sdk/src/lib/Api.ts @@ -2903,6 +2903,25 @@ export class HttpClient { export class Api< SecurityDataType extends unknown > extends HttpClient { + userProfile = { + /** + * @description Update User Profile + * + * @tags User profile + * @name Update + * @summary Update User Profile + * @request PATCH:/api/v1/user/profile + * @response `200` `UserType` + */ + update: (data: UserType, params: RequestParams = {}) => + this.request({ + path: `/api/v1/user/profile`, + method: 'PATCH', + body: data, + type: ContentType.Json, + ...params, + }), + }; auth = { /** * @description Create a new user with provided email and password and first user is marked as super admin.