Commit 21dbaa7385e40d264110c11e9e4bb20380e378b2

Authored by Marcelo Puebla
1 parent fb10d862ae
Exists in master and in 1 other branch develop

Codigo identado.

Showing 1 changed file with 4 additions and 4 deletions   Show diff stats
... ... @@ -2,14 +2,14 @@ angular.module('focaBusquedaProductos')
2 2 .service('focaBusquedaProductosService', [
3 3 '$http',
4 4 'API_ENDPOINT',
5   - function($http, API_ENDPOINT) {
  5 + function ($http, API_ENDPOINT) {
6 6 return {
7   - getProductos: function() {
  7 + getProductos: function () {
8 8 return $http.get(API_ENDPOINT.URL + '/articulos');
9 9 },
10   - getProductosByIdLista: function(id, filters) {
  10 + getProductosByIdLista: function (id, filters) {
11 11 return $http.post(API_ENDPOINT.URL + '/articulos/lista',
12   - {filters: filters, id: id});
  12 + { filters: filters, id: id });
13 13 }
14 14 };
15 15 }