changed weight strinbg to float64

This commit is contained in:
Bastian de Byl
2023-02-26 01:30:13 -05:00
parent e6ffe724af
commit 13bef02dcb

View File

@@ -36,7 +36,7 @@ type SnipcartItem struct {
Length string `json:"length,omitempty"`
Width string `json:"width,omitempty"`
Height string `json:"height,omitempty"`
Weight string `json:"weight,omitempty"`
Weight float64 `json:"weight,omitempty"`
Shippable bool `json:"shippable,omitempty"`
}