Skip to content

Commit

Permalink
correct jscode2session params, see https://developers.weixin.qq.com/m…
Browse files Browse the repository at this point in the history
  • Loading branch information
applesstt authored and JacksonTian committed May 3, 2018
1 parent 3607df4 commit 292522c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/oauth.js
Expand Up @@ -230,7 +230,7 @@ OAuth.prototype.getSessionKey = function(code, callback) {
var info = {
appid: this.appid,
secret: this.appsecret,
code: code,
js_code: code,
grant_type: 'authorization_code',
};
var args = {
Expand Down

0 comments on commit 292522c

Please sign in to comment.