This commit is contained in:
2026-09-19 16:59:15 +03:30
parent 663d0a36aa
commit 0d113611cb
198 changed files with 2491 additions and 944 deletions
+1 -1
View File
@@ -108,7 +108,7 @@ export const useAuthStore = defineStore('auth', () => {
}
async function updateProfile(
data: Partial<Pick<User, 'firstName' | 'lastName' | 'nationalId' | 'avatarUrl'>>,
data: Partial<Pick<User, 'firstName' | 'lastName' | 'nationalId' | 'avatarUrl' | 'address'>>,
) {
if (!user.value) return null
const updated = await authUpdateProfile(data)