Open chinathaip opened 11 months ago
POST /api/reviews/<reviewID>/upvote POST /api/reviews/<reviewID>/downvote
POST /api/reviews/<reviewID>/upvote
POST /api/reviews/<reviewID>/downvote
check for user id through jwt token - must be valid
owner cannot vote his/her own review
POST /api/reviews/<reviewID>/upvote
POST /api/reviews/<reviewID>/downvote
check for user id through jwt token - must be valid
owner cannot vote his/her own review