Cloud code logs (#2370)
* Adds logging (info/error) when running cloudCode triggers * Adds logs for cloud-function calls - Match parse.com original logging
This commit is contained in:
committed by
Tyler Brock
parent
93b41170fd
commit
3b2da1d734
@@ -94,7 +94,7 @@ function del(config, auth, className, objectId, clientSDK) {
|
||||
// Returns a promise for a {response, status, location} object.
|
||||
function create(config, auth, className, restObject, clientSDK) {
|
||||
enforceRoleSecurity('create', className, auth);
|
||||
var write = new RestWrite(config, auth, className, null, restObject, clientSDK);
|
||||
var write = new RestWrite(config, auth, className, null, restObject, null, clientSDK);
|
||||
return write.execute();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user