Skip to content

Move logged-in user endpoints to /users/me and apply code cleanup#682

Merged
tjementum merged 4 commits intomainfrom
pp-314-move-user-endpoints
Jan 26, 2025
Merged

Move logged-in user endpoints to /users/me and apply code cleanup#682
tjementum merged 4 commits intomainfrom
pp-314-move-user-endpoints

Conversation

@tjementum
Copy link
Member

@tjementum tjementum commented Jan 26, 2025

Summary & Motivation

Following the previous change that moved tenant-related API endpoints to /tenants/current, all endpoints for the logged-in user are now moved to /users/me for consistency. This applies to all relevant endpoints, including GET, PUT, change-locale, update-avatar, remove-avatar, etc. Commands, tests, and the frontend have been updated to align with this change, including the removal of obsolete tests.

Additionally, minor code cleanups have been applied:

  • Simplified guards in commands to one-liners where appropriate.
  • Updated IDomainEvent documentation to remove outdated references to the Application Layer.
  • Standardized spelling by replacing British English with American English.

Checklist

  • I have added tests, or done manual regression tests
  • I have updated the documentation, if necessary

@tjementum tjementum added the Enhancement New feature or request label Jan 26, 2025
@tjementum tjementum self-assigned this Jan 26, 2025
@linear
Copy link

linear bot commented Jan 26, 2025

@sonarqubecloud
Copy link

@tjementum tjementum merged commit 02c1c81 into main Jan 26, 2025
16 checks passed
@tjementum tjementum deleted the pp-314-move-user-endpoints branch January 26, 2025 00:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Enhancement New feature or request

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

1 participant