Skip to content

Commit

Permalink
feat : mock cart
Browse files Browse the repository at this point in the history
  • Loading branch information
chaiyapluek committed Mar 24, 2024
1 parent 35b4e13 commit 0884da9
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ public PromotionController(PromotionService promotionService) {
schema = @Schema(implementation = NotFoundException.class)))
@GetMapping("/promotions")
public ResponseEntity<List<PromotionResponse>> getAllPromotions() {

if (enablePromotionListApi) {
return ResponseEntity.ok(promotionService.getAll());
}
Expand Down

0 comments on commit 0884da9

Please sign in to comment.