<commit_before>courierChat.factory('authInterceptor',
	['$rootScope', function($rootScope)	{
		return {
			request: function($config) {
				if($rootScope.user && $rootScope.user.token) {
					$config.headers['courierchat-auth-token'] = $rootScope.user.token;
				}

				return $config;
			}
		};
	}]);<commit_msg>Corrected jshint errors for authInterceptor.<commit_after>(function() {
	'use strict';

	angular.module('courierChat').factory('authInterceptor',
		['$rootScope', function ($rootScope) {
			return {
				request: function ($config) {
					if ($rootScope.user && $rootScope.user.token) {
						$config.headers['courierchat-auth-token'] = $rootScope.user.token;
					}

					return $config;
				}
			};
		}]);
})();
{'fraction_non_alphanumeric': 0.1793103448275862, 'fraction_numerical': 0.0, 'mean_word_length': 3.9054054054054053, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6199653', 'n_tokens_mistral': 291, 'n_tokens_neox': 238, 'n_words': 34}