Skip to content

Commit

Permalink
fix bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
DesertsPan committed Sep 18, 2018
1 parent feab93e commit bab3440
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cloud.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ AV.Cloud.define('resend-mails', function(request) {
});
});

AV.Cloud.define('self-wake', function(request) {
AV.Cloud.define('self-wake', function(req) {
request(process.env.ADMIN_URL, function (error, response, body) {
console.log('自唤醒任务执行成功,响应状态码为:', response && response.statusCode);
});
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"leancloud-storage": "^3.0.0",
"leanengine": "^3.0.0",
"nodemailer": "^4.0.1",
"requests": "^0.2.2"
"request": "^2.88.0"
},
"devDependencies": {
"nodemon": "^1.11.0"
Expand Down

0 comments on commit bab3440

Please sign in to comment.