diff --git a/packages/editor-ui/src/api/users.ts b/packages/editor-ui/src/api/users.ts index a27faea7b7..aedbd0b594 100644 --- a/packages/editor-ui/src/api/users.ts +++ b/packages/editor-ui/src/api/users.ts @@ -90,7 +90,6 @@ export async function changePassword( } export type UpdateCurrentUserParams = { - id?: string; firstName?: string; lastName?: string; email: string; diff --git a/packages/editor-ui/src/stores/sso.store.ts b/packages/editor-ui/src/stores/sso.store.ts index 63c71c3899..d9d522274c 100644 --- a/packages/editor-ui/src/stores/sso.store.ts +++ b/packages/editor-ui/src/stores/sso.store.ts @@ -70,7 +70,6 @@ export const useSSOStore = defineStore('sso', () => { const updateUser = async (params: { firstName: string; lastName: string }) => await updateCurrentUser(rootStore.restApiContext, { - id: usersStore.currentUser!.id, email: usersStore.currentUser!.email!, ...params, }); diff --git a/packages/editor-ui/src/views/SettingsPersonalView.vue b/packages/editor-ui/src/views/SettingsPersonalView.vue index 60b40fb686..0ddbe6e5a5 100644 --- a/packages/editor-ui/src/views/SettingsPersonalView.vue +++ b/packages/editor-ui/src/views/SettingsPersonalView.vue @@ -173,7 +173,6 @@ async function updateUserBasicInfo(userBasicInfo: UserBasicDetailsWithMfa) { } await usersStore.updateUser({ - id: usersStore.currentUserId, firstName: userBasicInfo.firstName, lastName: userBasicInfo.lastName, email: userBasicInfo.email,