Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User endpoint for updating user's preferred language #1379

Merged
merged 4 commits into from
Nov 14, 2024

Conversation

matti-lamppu
Copy link
Collaborator

@matti-lamppu matti-lamppu commented Oct 3, 2024

🛠️ Changelog

  • Adds an endpoint for all users to change their preferred language
  • Changes the previous updateUser endpoint to updateStaffUser to reflect that it is only used by staff users.

🧪 Test plan

  • Automated tests

🚧 Dependencies

  • Frontend needs to change the endpoint used for updating the reservationNotification setting to updateStaffUser, since updateUser now points to the endpoint that all users can use to update their data.

🎫 Tickets

@matti-lamppu matti-lamppu added feature Adds a new feature breaking Requires frontend changes labels Oct 3, 2024
@matti-lamppu matti-lamppu self-assigned this Oct 3, 2024
@City-of-Helsinki City-of-Helsinki deleted a comment from github-actions bot Oct 3, 2024
@matti-lamppu matti-lamppu marked this pull request as ready for review October 3, 2024 10:52
Copy link

sonarcloud bot commented Nov 14, 2024

@City-of-Helsinki City-of-Helsinki deleted a comment from github-actions bot Nov 14, 2024
@City-of-Helsinki City-of-Helsinki deleted a comment from github-actions bot Nov 14, 2024
@matti-lamppu matti-lamppu merged commit 6c24b4f into main Nov 14, 2024
6 checks passed
@matti-lamppu matti-lamppu deleted the user-lang-endpoint branch November 14, 2024 11:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking Requires frontend changes feature Adds a new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants