From e6fc8f1e0e893df8f69687d41dbcf35018b13160 Mon Sep 17 00:00:00 2001 From: Aleksandr Kokockin Date: Tue, 10 Sep 2024 12:47:24 +0300 Subject: [PATCH 1/2] rename page field --- request.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/request.go b/request.go index 24ff2d0..5fbe123 100644 --- a/request.go +++ b/request.go @@ -261,7 +261,7 @@ type LoyaltyBonusStatusDetailsRequest struct { type LoyaltyAccountsRequest struct { Limit int `url:"limit,omitempty"` - Page int `url:"limit,omitempty"` + Page int `url:"page,omitempty"` Filter LoyaltyAccountAPIFilter `url:"filter,omitempty"` } From d19546014137722c4dee253fda193b9690bc2183 Mon Sep 17 00:00:00 2001 From: Aleksandr Kokockin Date: Tue, 10 Sep 2024 12:47:44 +0300 Subject: [PATCH 2/2] rename expireDate field --- request.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/request.go b/request.go index 5fbe123..4c46ff5 100644 --- a/request.go +++ b/request.go @@ -249,7 +249,7 @@ type AccountBonusOperationsRequest struct { type LoyaltyBonusCreditRequest struct { Amount float64 `url:"amount"` ActivationDate string `url:"activationDate,omitempty"` - ExpiredDate string `url:"expiredDate,omitempty"` + ExpiredDate string `url:"expireDate,omitempty"` Comment string `url:"comment,omitempty"` }