diff --git a/src/stores/user/index.ts b/src/stores/user/index.ts index df4e0a98..2a5e39dc 100644 --- a/src/stores/user/index.ts +++ b/src/stores/user/index.ts @@ -334,7 +334,7 @@ const useUserStore = defineStore('api-user', () => { async function editById( id: string, - data: Partial, + data: Partial, flow?: { sessionId: string; refTransactionId: string; diff --git a/src/stores/user/types.ts b/src/stores/user/types.ts index c622f60f..2676ead6 100644 --- a/src/stores/user/types.ts +++ b/src/stores/user/types.ts @@ -74,7 +74,7 @@ export type UserCreate = { userRole: string; userType: string; username: string; - status: Status; + status?: Status; profileImage?: File | null; // required but not strict birthDate?: Date | null; responsibleArea?: string | null;