Skip to content

Commit 96d7053

Browse files
authored
Update main.js
1 parent 65ad4b3 commit 96d7053

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cloud/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
Parse.Cloud.define('hello', (req) => {
2-
console.log(req)
2+
request.log.info(req)
33
return 'Hi';
44
});
55

66
Parse.Cloud.define('asyncFunction', async (req) => {
77
await new Promise((resolve) => setTimeout(resolve,1000));
8-
console.log(req)
8+
request.log.info(req)
99
return 'Hi async';
1010
});
1111

0 commit comments

Comments
 (0)