From 63ef49d10ae78668d6092ef08b7684664e5e4967 Mon Sep 17 00:00:00 2001 From: Alex Lushpai Date: Tue, 29 Oct 2019 14:55:04 +0300 Subject: [PATCH] remove deprecated intercomCode field --- v5/client.go | 2 +- v5/types.go | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/v5/client.go b/v5/client.go index 2953ccc..36cdfa9 100644 --- a/v5/client.go +++ b/v5/client.go @@ -18,7 +18,7 @@ import ( "github.com/retailcrm/api-client-go/errs" ) -// New initalize client +// New initialize client func New(url string, key string) *Client { return &Client{ URL: url, diff --git a/v5/types.go b/v5/types.go index 52d8269..bb98a56 100644 --- a/v5/types.go +++ b/v5/types.go @@ -32,7 +32,6 @@ type Address struct { StreetType string `json:"streetType,omitempty"` Building string `json:"building,omitempty"` Flat string `json:"flat,omitempty"` - IntercomCode string `json:"intercomCode,omitempty"` Floor int `json:"floor,omitempty"` Block int `json:"block,omitempty"` House string `json:"house,omitempty"`