From 195b1d0198fb952be1c39f3112c810ba7735731a Mon Sep 17 00:00:00 2001 From: efernandez Date: Wed, 27 Feb 2019 14:23:42 -0300 Subject: [PATCH] consultar terminal --- package.json | 16 +++++++++++----- src/js/app.js | 2 +- src/js/service.js | 8 ++++---- 3 files changed, 16 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index 889c054..39c0edc 100644 --- a/package.json +++ b/package.json @@ -36,19 +36,25 @@ "pump": "^3.0.0" }, "devDependencies": { - "angular": "^1.7.5", - "angular-cookies": "^1.7.5", - "angular-route": "^1.7.5", + "angular": "^1.7.7", + "angular-cookies": "^1.7.7", + "angular-route": "^1.7.7", + "bootstrap": "^4.3.1", + "font-awesome": "^4.7.0", "gulp": "^3.9.1", - "gulp-angular-templatecache": "^2.2.3", + "gulp-angular-templatecache": "^2.2.6", "gulp-clean": "^0.4.0", "gulp-concat": "^2.6.1", + "gulp-connect": "^5.7.0", + "gulp-htmlmin": "^5.0.1", "gulp-jshint": "^2.1.0", "gulp-rename": "^1.4.0", "gulp-replace": "^1.0.0", + "gulp-sequence": "^1.0.0", "gulp-uglify": "^3.0.1", + "jasmine-core": "^3.3.0", "jquery": "^3.3.1", - "jshint": "^2.9.6", + "jshint": "^2.10.1", "ngstorage": "^0.3.11", "pre-commit": "^1.2.2", "pump": "^3.0.0" diff --git a/src/js/app.js b/src/js/app.js index 01ab123..bd7fbd2 100644 --- a/src/js/app.js +++ b/src/js/app.js @@ -5,4 +5,4 @@ angular.module('focaConfiguracion', ['ngStorage']) $localStorage.terminalKey = res.data; }); } - }]); \ No newline at end of file + }]); diff --git a/src/js/service.js b/src/js/service.js index d308ed5..ed2bb01 100644 --- a/src/js/service.js +++ b/src/js/service.js @@ -1,11 +1,11 @@ angular.module('focaConfiguracion') .factory("focaConfiguracionService", [ - '$http', 'API_ENDPOINT', - function($http, API_ENDPOINT) { + '$http', 'ENDPOINT_BASE', + function($http, ENDPOINT_BASE) { return { getHashTerminal: function() { - return $http.get(API_ENDPOINT.URL + '/config/terminal'); + return $http.get(ENDPOINT_BASE + '/terminal/obtener'); } } } - ]); \ No newline at end of file + ]); -- 1.9.1