You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Parameter(description ="Start date for transactions (defaults to today if not supplied)") @RequestParam(required =false, name ="fromDate") fromDate:String?,
48
-
@Parameter(description ="To date for transactions (defaults to today if not supplied)") @RequestParam(required =false, name ="toDate") toDate:String?,
74
+
@Parameter(description ="Start date for transactions (defaults to today if not supplied)") @RequestParam(required =false, name ="from_date") fromDate:String?,
75
+
@Parameter(description ="To date for transactions (defaults to today if not supplied)") @RequestParam(required =false, name ="to_date") toDate:String?,
49
76
): DataResponse<Transactions?> {
50
77
var startDate =LocalDate.now().toString()
51
78
var endDate =LocalDate.now().toString()
52
79
53
80
if (fromDate ==null&& toDate !=null|| toDate ==null&& fromDate !=null) {
54
81
throwValidationException("Both fromDate and toDate must be supplied if one is populated")
0 commit comments