Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
calidion committed Nov 15, 2015
1 parent bf49c8e commit cf18074
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ module.exports = {
}
};
var url = baseUrl + 'create' + '?' + util.toParam({
access_token: auth.accessToken
access_token: app.auth.accessToken
});
request.json(url, data, cb);
});
Expand All @@ -36,7 +36,7 @@ module.exports = {
}
};
var url = baseUrl + 'create' + '?' + util.toParam({
access_token: auth.accessToken
access_token: app.auth.accessToken
});
request.json(url, data, cb);
});
Expand All @@ -52,7 +52,7 @@ module.exports = {
}
};
var url = baseUrl + 'create' + '?' + util.toParam({
access_token: auth.accessToken
access_token: app.auth.accessToken
});
request.json(url, data, cb);
});
Expand All @@ -67,7 +67,7 @@ module.exports = {
long_url: longUrl
};
var url = 'https://api.weixin.qq.com/cgi-bin/shorturl?' + util.toParam({
access_token: auth.accessToken
access_token: app.auth.accessToken
});
request.json(url, data, cb);
});
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"node-weixin-util": "^0.2.0"
},
"devDependencies": {
"grunt": "^0.4.5",
"grunt-cli": "^0.1.13",
"grunt-contrib-jshint": "^0.11.0",
"grunt-contrib-nodeunit": "^0.4.1",
Expand Down

0 comments on commit cf18074

Please sign in to comment.