Change index into attribute.
This commit is contained in:
parent
f5e914510c
commit
60b00b7774
@ -31,7 +31,7 @@ var accountantApp = angular.module("accountantApp", [
|
||||
|
||||
if(token) {
|
||||
var token_type = $storage.get('token_type');
|
||||
config.headers["Authorization"] = authorization;
|
||||
config.headers.Authorization = authorization;
|
||||
var authorization = token_type + ' ' + token;
|
||||
}
|
||||
return config;
|
||||
|
Loading…
Reference in New Issue
Block a user