Skip to content

Commit

Permalink
fix(rxTokenInterceptor): Adding return statement for the config
Browse files Browse the repository at this point in the history
  • Loading branch information
chriscantu committed Apr 28, 2014
1 parent b0974ea commit fe2cea2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/rxTokenInterceptor/rxTokenInterceptor.js
Expand Up @@ -21,6 +21,7 @@ angular.module('encore.ui.rxTokenInterceptor', ['encore.ui.rxSession'])
return {
request: function (config) {
config.headers['X-Auth-Token'] = Session.getTokenId();
return config;
}
};
});

0 comments on commit fe2cea2

Please sign in to comment.