From a0f74fcad8f3d87cb09b840ebb34aed0003d4bdf Mon Sep 17 00:00:00 2001 From: DmitryZagorulko Date: Mon, 16 Apr 2018 17:02:27 +0300 Subject: [PATCH] fail tests, bug fix --- v5/request.go | 1 - v5/response.go | 10 +++++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/v5/request.go b/v5/request.go index 3bf4fb5..1f580f1 100644 --- a/v5/request.go +++ b/v5/request.go @@ -163,4 +163,3 @@ type CustomDictionariesRequest struct { Limit int `url:"limit,omitempty"` Page int `url:"page,omitempty"` } - diff --git a/v5/response.go b/v5/response.go index d9cf2b2..cc5764d 100644 --- a/v5/response.go +++ b/v5/response.go @@ -338,15 +338,15 @@ type CostsResponse struct { // CostsUploadResponse type type CostsUploadResponse struct { - Success bool `json:"success"` - UploadedCosts []int `json:"uploadedCosts,omitempty,brackets"` + Success bool `json:"success"` + UploadedCosts []int `json:"uploadedCosts,omitempty,brackets"` } // CostsDeleteResponse type type CostsDeleteResponse struct { - Success bool `json:"success"` - Count int `json:"count,omitempty,brackets"` - NotRemovedIds []int `json:"notRemovedIds,omitempty,brackets"` + Success bool `json:"success"` + Count int `json:"count,omitempty,brackets"` + NotRemovedIds []int `json:"notRemovedIds,omitempty,brackets"` } // CostResponse type