Skip to content

Commit

Permalink
change WechatMiniProgramAuth to Wxapp in index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
JC committed Jul 5, 2018
1 parent 17c643d commit 219b472
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ catch (error) {
}

// If node does not support async await, use the compiled version.
if (asyncawait) module.exports = require('./lib/WechatMiniProgramAuth');
else module.exports = require('./node4/WechatMiniProgramAuth');
if (asyncawait) module.exports = require('./lib/WxappAuth');
else module.exports = require('./node4/WxappAuth');

0 comments on commit 219b472

Please sign in to comment.