Skip to content

Commit

Permalink
Update ProductController.java
Browse files Browse the repository at this point in the history
  • Loading branch information
ndkhanh-axonivy committed Jul 25, 2024
1 parent bacb5ff commit 74fed8b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public ResponseEntity<PagedModel<ProductModel>> findProducts(@RequestParam(name

@PutMapping(SYNC)
public ResponseEntity<Message> syncProducts(@RequestHeader(value = "Authorization") String authorizationHeader,
@RequestParam(value = "resetSync", required = false) boolean resetSync) {
@RequestParam(value = "resetSync", required = false) Boolean resetSync) {
String token = null;
if (authorizationHeader.startsWith("Bearer ")) {
token = authorizationHeader.substring(7); // Remove "Bearer " prefix
Expand Down

0 comments on commit 74fed8b

Please sign in to comment.