diff --git a/lemur/static/app/angular/app.js b/lemur/static/app/angular/app.js index a4102dac..402183f9 100644 --- a/lemur/static/app/angular/app.js +++ b/lemur/static/app/angular/app.js @@ -94,9 +94,9 @@ lemur.factory('LemurRestangular', function (Restangular, $location, $auth) { RestangularConfigurer.setErrorInterceptor(function(response) { if (response.status == 400) { if (response.data.message) { - var data = ""; + var data = ''; _.each(response.data.message, function (value, key) { - data = data + " " + key + " " + value; + data = data + ' ' + key + ' ' + value; }); response.data.message = data; } diff --git a/lemur/static/app/angular/authorities/services.js b/lemur/static/app/angular/authorities/services.js index 65cdfba3..123e5ec3 100644 --- a/lemur/static/app/angular/authorities/services.js +++ b/lemur/static/app/angular/authorities/services.js @@ -56,7 +56,7 @@ angular.module('lemur') }); return LemurRestangular.all('authorities'); }) - .service('AuthorityService', function ($location, AuthorityApi, DefaultService, toaster) { + .service('AuthorityService', function ($location, AuthorityApi, DefaultService) { var AuthorityService = this; AuthorityService.findAuthorityByName = function (filterValue) { return AuthorityApi.getList({'filter[name]': filterValue}) diff --git a/lemur/static/app/angular/certificates/services.js b/lemur/static/app/angular/certificates/services.js index a9bf03f8..89e68125 100644 --- a/lemur/static/app/angular/certificates/services.js +++ b/lemur/static/app/angular/certificates/services.js @@ -89,7 +89,7 @@ angular.module('lemur') }); return LemurRestangular.all('certificates'); }) - .service('CertificateService', function ($location, CertificateApi, LemurRestangular, DefaultService, toaster) { + .service('CertificateService', function ($location, CertificateApi, LemurRestangular, DefaultService) { var CertificateService = this; CertificateService.findCertificatesByName = function (filterValue) { return CertificateApi.getList({'filter[name]': filterValue})