From df15984d9e2b51793c75266abe7d919a115d1172 Mon Sep 17 00:00:00 2001 From: Kevin Franklin Kim Date: Mon, 20 May 2024 17:22:12 +0200 Subject: [PATCH] fix: price type --- event/params/item.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/event/params/item.go b/event/params/item.go index b0be6a9..85618b0 100644 --- a/event/params/item.go +++ b/event/params/item.go @@ -19,7 +19,7 @@ type Item struct { ItemName string `json:"item_name,omitempty"` ItemVariant string `json:"item_variant,omitempty"` LocationID string `json:"location_id,omitempty"` - Price string `json:"price,omitempty"` + Price float64 `json:"price,omitempty"` PromotionID string `json:"promotion_id,omitempty"` PromotionName string `json:"promotion_name,omitempty"` Quantity float64 `json:"quantity,omitempty"`