Skip to content

Commit

Permalink
Merge 54748f8 into 2e40c85
Browse files Browse the repository at this point in the history
  • Loading branch information
Thunf committed Jan 5, 2018
2 parents 2e40c85 + 54748f8 commit af876b3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/wepy-ant/src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,9 @@ export default class {
if (key === 'request') {
obj = (typeof(obj) === 'string') ? {url: obj} : obj;
}
if (key === 'getAuthCode') {
obj.scopes = obj.scopes || 'auth_user'
}
if (typeof obj === 'string') {
return my[key](obj);
}
Expand Down

0 comments on commit af876b3

Please sign in to comment.