我收到此错误:
httpURLConnection.setRequestProperty("Proxy-Authorization", "Basic " + encoded);
这是我的快速函数调用:
Result: TypeError: Object [object Object] has no method '_each'
at request (stripe.js:58:11)
at post (stripe.js:117:12)
at Object.module.exports.Customers.create (stripe.js:239:16)
at main.js:13:22
这是我特定功能的云代码:
let userId = PFUser.currentUser()?.objectId
let userEmail = PFUser.currentUser()?.email
PFCloud.callFunctionInBackground("createCustomer", withParameters: ["email": userEmail!, "objectId": userId!])
我不确定我收到此错误的位置和原因。任何帮助将不胜感激。