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

Replaced user with user-entity in session-user #567

Conversation

leoseg
Copy link
Contributor

@leoseg leoseg commented Aug 1, 2024

Replaced req['user'] with req['userEntity'] in controller and changed type from GetUserDto to userEntity in controller and service

Issue link / number:

#546

What changes did you make?

I refactored the session-user controller and service, so req["userEntity"] is taken instead of req["user"] and refactored the datatypes accordingly.

Why did you make the changes?

Because the refactoring is need as subtask to complete this umbrella ticket

Did you run tests?

I run all unit-tests with "yarn test" and all e2e-tests with cypress all with success.

Replaced req['user'] with req['userEntity'] in controller and changed type from GetUserDto to userEntity in controller and service
@annarhughes annarhughes self-assigned this Aug 14, 2024
Copy link
Member

@annarhughes annarhughes left a comment

Choose a reason for hiding this comment

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

Thanks @leoseg this change is perfectly done!

@kyleecodes kyleecodes merged commit 1528fbc into chaynHQ:develop Aug 14, 2024
3 checks passed
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.

3 participants