From 265abe72b2f69911f584056fe8c7db3ff0824938 Mon Sep 17 00:00:00 2001 From: Roopak Venkatakrishnan Date: Thu, 18 Jul 2019 22:21:31 -0700 Subject: [PATCH] Fix app context --- types.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/types.go b/types.go index 5ff7fe1..15c594e 100644 --- a/types.go +++ b/types.go @@ -104,11 +104,11 @@ type ( // ApplicationContext struct ApplicationContext struct { - BrandName string `json:"brand_name"` - Locale string `json:"locale"` - LandingPage string `json:"landing_page"` - ShippingPreference string `json:"shipping_preference"` - UserAction string `json:"user_action"` + BrandName string `json:"brand_name,omitempty"` + Locale string `json:"locale,omitempty"` + LandingPage string `json:"landing_page,omitempty"` + ShippingPreference string `json:"shipping_preference,omitempty"` + UserAction string `json:"user_action,omitempty"` } // Authorization struct