From eda5973a4772cb2d10b1d0eaa1663bda537f594e Mon Sep 17 00:00:00 2001 From: Daniel Lew <51924260+DanielSLew@users.noreply.github.com> Date: Tue, 22 Jun 2021 18:14:22 -0400 Subject: [PATCH] set default salesChannel to empty string (#32044) (cherry picked from commit f10554a0ca30a38ad5c3ee57834388f2ed500abb) --- 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 || `` ), }) }