From 21dbaa7385e40d264110c11e9e4bb20380e378b2 Mon Sep 17 00:00:00 2001 From: mpuebla Date: Wed, 5 Jun 2019 16:08:09 -0300 Subject: [PATCH] Codigo identado. --- src/js/service.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/js/service.js b/src/js/service.js index 785f9cc..617c6a5 100644 --- a/src/js/service.js +++ b/src/js/service.js @@ -2,14 +2,14 @@ angular.module('focaBusquedaProductos') .service('focaBusquedaProductosService', [ '$http', 'API_ENDPOINT', - function($http, API_ENDPOINT) { + function ($http, API_ENDPOINT) { return { - getProductos: function() { + getProductos: function () { return $http.get(API_ENDPOINT.URL + '/articulos'); }, - getProductosByIdLista: function(id, filters) { + getProductosByIdLista: function (id, filters) { return $http.post(API_ENDPOINT.URL + '/articulos/lista', - {filters: filters, id: id}); + { filters: filters, id: id }); } }; } -- 1.9.1