Linting
This commit is contained in:
parent
3efc449e94
commit
2d21a158fe
3 changed files with 4 additions and 4 deletions
|
@ -2,7 +2,7 @@ import Ember from 'ember';
|
|||
import Base from 'simple-auth/authorizers/base';
|
||||
|
||||
export default Base.extend({
|
||||
authorize: function(jqXHR, requestOptions) {
|
||||
authorize: function(jqXHR) {
|
||||
if (this.get('session.isAuthenticated') && !Ember.isEmpty(this.get('session.token'))) {
|
||||
jqXHR.setRequestHeader('Authorization', 'Bearer ' + this.get('session.token'));
|
||||
}
|
||||
|
|
Reference in a new issue