From 10a9427598a48ad683db12ba9b3cc3136d7c2502 Mon Sep 17 00:00:00 2001 From: Bastian de Byl Date: Thu, 27 Jul 2023 13:48:13 -0400 Subject: [PATCH] corrected CustomField.Options field to string from []string --- snipcart/common.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/snipcart/common.go b/snipcart/common.go index 3a6dda4..b8db1c4 100644 --- a/snipcart/common.go +++ b/snipcart/common.go @@ -37,9 +37,9 @@ type Client struct { } type CustomField struct { - Name string `json:"name"` - Value string `json:"value"` - Type string `json:"type,omitempty"` - Options []string `json:"options,omitempty"` - Required bool `json:"required"` + Name string `json:"name"` + Value string `json:"value"` + Type string `json:"type,omitempty"` + Options string `json:"options,omitempty"` + Required bool `json:"required"` }