Skip to content

Commit

Permalink
fix: P4PU-392 fix date client pull payment (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
Giuseppe-LaManna authored Aug 2, 2024
1 parent 36aeb10 commit 06c9367
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import it.gov.pagopa.arc.connector.pullpayment.dto.PullPaymentNoticeDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.*;
Expand All @@ -21,7 +22,7 @@ public interface PullPaymentRestClient {
List<PullPaymentNoticeDTO> paymentNotices(
@RequestHeader(value = "Ocp-Apim-Subscription-Key") String apikey,
@RequestHeader(value = "x-tax-code") String fiscalCode,
@RequestParam(value = "dueDate", required = false ) LocalDate dueDate,
@RequestParam(value = "dueDate", required = false ) @DateTimeFormat(iso = DateTimeFormat.ISO.DATE) LocalDate dueDate,
@RequestParam(value = "limit", required = false, defaultValue = "50") int limit,
@RequestParam(value = "page", required = false, defaultValue = "0") int page
);
Expand Down

0 comments on commit 06c9367

Please sign in to comment.