Skip to content

Commit a034895

Browse files
committed
added critically missing comma to omiempty tags
1 parent d7a9948 commit a034895

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

counterparty.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ func (c *Client) GetCounterpartyOptions(ref Ref) (*Response[CounterpartyOptions]
139139

140140
type CounterpartyContactPersonRequest struct {
141141
Ref string
142-
Page int `json:",string,omitempty" xml:"omitempty"`
142+
Page int `json:",string,omitempty" xml:",omitempty"`
143143
}
144144

145145
// GetCounterpartyContactPersons Завантажити список контактних осіб Контрагента
@@ -158,7 +158,7 @@ func (c *Client) GetCounterpartyContactPersons(req CounterpartyContactPersonRequ
158158

159159
type CounterpartiesRequest struct {
160160
CounterpartyProperty string
161-
Page int`json:",string,omitempty" xml:"omitempty"`
161+
Page int`json:",string,omitempty" xml:",omitempty"`
162162
}
163163

164164
// GetCounterparties Завантажити список контрагентів відправників / одержувачів / третя особа

internet_document.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ func (c *Client) GetDocumentPrice(req DocumentPriceRequest) (*Response[DocumentP
5353

5454
type (
5555
DocumentDeliveryDateRequest struct {
56-
DateTime string `json:"omitempty" xml:"omitempty"`
56+
DateTime string `json:",omitempty" xml:",omitempty"`
5757
ServiceType string
5858
CitySender string
5959
CityRecipient string

0 commit comments

Comments
 (0)