From d60339bd6acb22a4615ef0aef23197a53823be5e Mon Sep 17 00:00:00 2001 From: ikethecoder Date: Thu, 10 Jun 2021 22:31:30 -0700 Subject: [PATCH] hotfix 2 for adding product in batch --- src/lists/Product.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lists/Product.js b/src/lists/Product.js index 8bbb7b9e7..c1ff1a177 100644 --- a/src/lists/Product.js +++ b/src/lists/Product.js @@ -46,7 +46,7 @@ module.exports = { } else { resolvedData['appId'] = newProductID(); } - if ('authedItem' in context && 'namespace' in context['authedItem']) { + if (context['authedItem'] && 'namespace' in context['authedItem']) { resolvedData['namespace'] = context['authedItem']['namespace']; } }