如果customer_id不存在于Shopify JavaScript对象中,我将得到错误未定义的TypeError:无法读取属性(读取'customer_id'): if("customer_id" in Shopify !如果条件语句为TypeError,则如果条件语句为if ("customer_id" in Shopify) {,则当<
TypeError:无法在app.post (/home/niko/Desktop/opa/app.js:17:38)的Layer.handle at Route.dispatch (/home/niko/Desktop/opa/node_modules/express/lib/router/route.js:112:3) at Layer.handle at /home
我正在开发一个简单的应用程序,它使用第三方应用程序接口(ShopifyRESTAPI),ShopifyAPI被限制为允许无限制的请求,通过一个漏桶算法,这是detailed in their documentation我正在使用Shopify-api-node模块进行API调用,它支持开箱即用的autoLimit选项,该选项可以自动限制发出请求的速率,因此您