We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 65ad4b3 + 6988666 commit 5ce8c80Copy full SHA for 5ce8c80
cloud/main.js
@@ -1,14 +1,14 @@
1
Parse.Cloud.define('hello', (req) => {
2
- console.log(req)
+ req.log.info(req)
3
return 'Hi';
4
});
5
6
Parse.Cloud.define('asyncFunction', async (req) => {
7
await new Promise((resolve) => setTimeout(resolve,1000));
8
9
return 'Hi async';
10
11
12
Parse.Cloud.beforeSave('Test', () => {
13
- throw new Parse.Error(211,'Saving test objects is not available.')
+ throw new Parse.Error(212,'Saving test objects is not available.')
14
0 commit comments