some visual changes + improvements

This commit is contained in:
Daniel
2023-05-27 22:35:07 +03:30
parent 10727937b5
commit 1adb58c6d9
6 changed files with 47 additions and 29 deletions
+2 -2
View File
@@ -74,7 +74,7 @@ export default async function (user: AccountSettings, userId: number) {
}
}
const { password, ...unsensitiveInfo } = updatedUser;
const { password, ...userInfo } = updatedUser;
return { response: unsensitiveInfo, status: 200 };
return { response: userInfo, status: 200 };
}