Skip to content

Commit

Permalink
[FIX] Fixed invalid data types.
Browse files Browse the repository at this point in the history
  • Loading branch information
HighQualityWaschbaer committed Jul 24, 2023
1 parent 439538d commit edbbc09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions model/product.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ type Product struct {
CanonicalProductId string `json:"canonicalProductId,omitempty"`
Categories []Category `json:"categories,omitempty"`
CategoriesRo []Category `json:"categoriesRo,omitempty"`
CategoryIds interface{} `json:"categoryIds,omitempty"`
CategoryIds []string `json:"categoryIds,omitempty"`
CategoryTree interface{} `json:"categoryTree,omitempty"`
CheapestPrice interface{} `json:"cheapestPrice,omitempty"`
ChildCount float64 `json:"childCount,omitempty"`
Expand Down Expand Up @@ -69,7 +69,7 @@ type Product struct {
ProductNumber string `json:"productNumber,omitempty"` // required
ProductReviews []ProductReview `json:"productReviews,omitempty"`
Properties []PropertyGroupOption `json:"properties,omitempty"`
PropertyIds interface{} `json:"propertyIds,omitempty"`
PropertyIds []string `json:"propertyIds,omitempty"`
PurchasePrices interface{} `json:"purchasePrices,omitempty"`
PurchaseSteps float64 `json:"purchaseSteps,omitempty"`
PurchaseUnit float64 `json:"purchaseUnit,omitempty"`
Expand Down

0 comments on commit edbbc09

Please sign in to comment.