Skip to content

Commit

Permalink
Fix userpass method auth
Browse files Browse the repository at this point in the history
  • Loading branch information
Rondineli committed Dec 20, 2018
1 parent cd04d30 commit f6759d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ class ServerlessPlugin {
this.serverless.cli.log('You need set user, pass to this type of auth');
reject('set user, pass to moving on...');
}
this.requestLoginToken().then(function (result) {
this.requestLoginToken().then((result) => {
const token = result['auth']['client_token'];
resolve(this.method(token, baseUrl));
});
Expand Down

0 comments on commit f6759d1

Please sign in to comment.