Skip to content

Commit

Permalink
Accept only images or null
Browse files Browse the repository at this point in the history
  • Loading branch information
gowizzard committed May 13, 2021
1 parent 25c3e6b commit 7575039
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions products.go
Original file line number Diff line number Diff line change
Expand Up @@ -246,16 +246,16 @@ type CreateProductBodyCodes struct {
}

type CreateProductBodyImages struct {
First string `json:"1x"`
Second string `json:"2x"`
Third string `json:"3x"`
LiaFirst string `json:"lia_1x"`
LiaSecond string `json:"lia_2x"`
LiaThird string `json:"lia_3x"`
Original string `json:"original"`
SquareFirst string `json:"square_1x"`
SquareSecond string `json:"square_2x"`
SquareThird string `json:"square_3x"`
First string `json:"1x,omitempty"`
Second string `json:"2x,omitempty"`
Third string `json:"3x,omitempty"`
LiaFirst string `json:"lia_1x,omitempty"`
LiaSecond string `json:"lia_2x,omitempty"`
LiaThird string `json:"lia_3x,omitempty"`
Original string `json:"original,omitempty"`
SquareFirst string `json:"square_1x,omitempty"`
SquareSecond string `json:"square_2x,omitempty"`
SquareThird string `json:"square_3x,omitempty"`
}

type CreateProductBodyPrices struct {
Expand Down

0 comments on commit 7575039

Please sign in to comment.