Commit 7a2bb295dba7fec6c5d6be965a447ce0fd416131
1 parent
4ac4b39b
Exists in
master
and in
1 other branch
Remove unused parameters
Showing
3 changed files
with
4 additions
and
4 deletions
Show diff stats
src/app/index.run.js
... | ... | @@ -6,8 +6,8 @@ |
6 | 6 | .run(runBlock); |
7 | 7 | |
8 | 8 | /** @ngInject */ |
9 | - function runBlock($log, Restangular, Session, AuthService) { | |
10 | - Restangular.addFullRequestInterceptor(function(element, operation, route, url, headers, params, httpConfig) { | |
9 | + function runBlock($log, Restangular, Session) { | |
10 | + Restangular.addFullRequestInterceptor(function(element, operation, route, url, headers) { | |
11 | 11 | if(Session.getCurrentUser()) { |
12 | 12 | headers['Private-Token'] = Session.getCurrentUser().private_token; |
13 | 13 | } | ... | ... |
src/app/profile/profile.controller.js