chaynHQ / bloom-backend

Code for the backend / API of the Bloom service
https://bloom.chayn.co/
MIT License
17 stars 29 forks source link

Fix user me return object #511

Closed annarhughes closed 2 months ago

annarhughes commented 2 months ago

What changes did you make?

Fix return object for GET /user/me from userEntity type to GetUserDto type

Why did you make the changes?

This was recently broken in #505 where the return object was changed to userEntity by mistake, whilst trying to fix the user.id reference added in #502. The incorrect return type added in #505 was causing the frontend to crash on 3rd/4th July - fixed by rolling back and now this commit