Skip to content

Commit

Permalink
refactoring to better follow continuity
Browse files Browse the repository at this point in the history
  • Loading branch information
spencerstock committed Jun 25, 2019
1 parent dcdabc0 commit b22d04e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public ResponseEntity<?> editReview(@PathVariable long reviewid, @RequestBody Re
if (reviewService.updateReview(review, reviewid) == null) {
throw new ResourceNotFoundException("You did not post this review");
}
logger.info("/update/reviews/byreview/{reviewid} PUT accessed");
logger.info("/reviews/update/byreview/{reviewid} PUT accessed");
return new ResponseEntity<>(HttpStatus.OK);
}

Expand Down Expand Up @@ -112,7 +112,7 @@ public ResponseEntity<?> deleteReview(@PathVariable long reviewid) {

reviewService.delete(reviewid);

logger.info("/reviews/delete/{reviewid} DELETE endpoint accessed");
logger.info("/delete/{reviewid} DELETE endpoint accessed");

return new ResponseEntity<>(HttpStatus.OK);
}
Expand Down

0 comments on commit b22d04e

Please sign in to comment.