Skip to content

72 backend fix userdto#77

Merged
hansjhaland merged 3 commits intomainfrom
72-backend---fix-userdto
Sep 11, 2025
Merged

72 backend fix userdto#77
hansjhaland merged 3 commits intomainfrom
72-backend---fix-userdto

Conversation

@hansjhaland
Copy link
Copy Markdown
Contributor

Updates UserDTO.
Refactors GetUserById.

@hansjhaland hansjhaland linked an issue Sep 11, 2025 that may be closed by this pull request
};

return Results.Created($"/users/{response.Data.id}", response.Data);
return Results.Created($"/users/{user.Id}", response.Data);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Return whole response object

Copy link
Copy Markdown
Contributor

@otvegg otvegg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@hansjhaland hansjhaland merged commit 3734fe1 into main Sep 11, 2025
1 check passed
@hansjhaland hansjhaland deleted the 72-backend---fix-userdto branch September 11, 2025 09:56
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.

BACKEND - Fix userDTO

2 participants