Skip to content

Feature/update user - #111

Open
alxitk wants to merge 3 commits into
mate-academy:mainfrom
alxitk:feature/update-user
Open

Feature/update user#111
alxitk wants to merge 3 commits into
mate-academy:mainfrom
alxitk:feature/update-user

Conversation

@alxitk

@alxitk alxitk commented Aug 27, 2026

Copy link
Copy Markdown

No description provided.

alxitk and others added 3 commits August 28, 2026 00:02
Looks the user up with getUserById, returns undefined for an unknown
id, and otherwise updates name and email on the stored record in place,
mirroring how createUser mutates the same array.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BsKRikQbTdPpyNoxhTXXBa
Requires name and email with the same check and error message as
POST /users, returning 400 when either is missing. Delegates to
store.updateUser and returns 404 when it reports no such user, so an
unknown id no longer falls through. Returns the updated user on 200.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BsKRikQbTdPpyNoxhTXXBa
Records the approved plan, model choice, commit split, and what the
self-review confirmed.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BsKRikQbTdPpyNoxhTXXBa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant