Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions integration/test/cloud/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@ Parse.Cloud.define('TestFetchFromLocalDatastore', function (request) {
return object.save();
});

Parse.Cloud.define('UpdateUser', function (request) {
Parse.Cloud.define('UpdateUser', async function (request) {
const user = new Parse.User();
user.id = request.params.id;
user.set('foo', 'changed');
return user.save(null, { useMasterKey: true });
return await user.save(null, { useMasterKey: true });
});

Parse.Cloud.define('CloudFunctionIdempotency', function () {
Parse.Cloud.define('CloudFunctionIdempotency', async function () {
const object = new Parse.Object('IdempotencyItem');
return object.save(null, { useMasterKey: true });
return await object.save(null, { useMasterKey: true });
});

Parse.Cloud.define('CloudFunctionUndefined', function () {
Expand Down
Loading