diff --git a/accountant/frontend/static/js/app.js b/accountant/frontend/static/js/app.js index f4e69b2..7ac207c 100644 --- a/accountant/frontend/static/js/app.js +++ b/accountant/frontend/static/js/app.js @@ -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;