issues
search
ita-social-projects
/
SpaceToStudy-BackEnd
MIT License
13
stars
5
forks
source link
Refactor reviews endpoints for correct data handling and flow
#1020
Open
luiqor
opened
8 hours ago
luiqor
commented
8 hours ago
Reviews will be used in the cooperation closure process.
[x] Fix GET /reviews/ to support fetching reviews by targetUserId.
[ ] Correct the logic to ensure only a single proficiencyLevel value is returned from cooperation instead of array from offer.
[x] Add automatic recalculation of stats on POST /reviews/, PATCH, DELETE.
[x] Remove the unnecessary /reviews/stats endpoint (as stats will be recalculated automatically with POST /reviews/)
Reviews will be used in the cooperation closure process.