Skip to content

Commit

Permalink
fix url inconsistency in assurance service
Browse files Browse the repository at this point in the history
  • Loading branch information
Lincyaw committed Jun 17, 2024
1 parent a0df8a7 commit 0a9580b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public HttpEntity getAssuranceById(@PathVariable String assuranceId, @RequestHea
}

@CrossOrigin(origins = "*")
@GetMapping(path = "/assurance/orderid/{orderId}")
@GetMapping(path = "/assurances/orderid/{orderId}")
public HttpEntity findAssuranceByOrderId(@PathVariable String orderId, @RequestHeader HttpHeaders headers) {
AssuranceController.LOGGER.info("[findAssuranceByOrderId][Find assurance by orderId][orderId: {}]", orderId);
return ok(assuranceService.findAssuranceByOrderId(UUID.fromString(orderId), headers));
Expand Down

0 comments on commit 0a9580b

Please sign in to comment.