From f1cc7ffed41423df295ab680f94af6be1084f953 Mon Sep 17 00:00:00 2001 From: GatsbyJS Bot Date: Wed, 23 Jun 2021 03:24:55 -0400 Subject: [PATCH] set default salesChannel to empty string (#32044) (#32052) (cherry picked from commit f10554a0ca30a38ad5c3ee57834388f2ed500abb) Co-authored-by: Daniel Lew <51924260+DanielSLew@users.noreply.github.com> --- packages/gatsby-source-shopify/src/gatsby-node.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/gatsby-source-shopify/src/gatsby-node.ts b/packages/gatsby-source-shopify/src/gatsby-node.ts index 789c22001dae6..223f51b023d8b 100644 --- a/packages/gatsby-source-shopify/src/gatsby-node.ts +++ b/packages/gatsby-source-shopify/src/gatsby-node.ts @@ -43,7 +43,7 @@ export function pluginOptionsSchema({ .default([]) .items(Joi.string().valid(`orders`, `collections`)), salesChannel: Joi.string().default( - process.env.GATSBY_SHOPIFY_SALES_CHANNEL + process.env.GATSBY_SHOPIFY_SALES_CHANNEL || `` ), }) }