An API endpoint returns "the current user's profile" by sending back the full database record.
The bug: the database record includes passwordHash — a field that should never leave the server. This is Juice Shop's very first listed challenge, "Password Hash Leak": obtain a user's password hash directly from a REST API response that was never supposed to include it.
Your task: fix solve(user) so the returned object has every field from user except passwordHash.
Sample tests