Commit 15e7f854166fc9a5154bc77c0def0f9bb0c4fbc4
1 parent
273c25df8f
Exists in
master
Sintaxis.
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/js/service.js
... | ... | @@ -5,7 +5,7 @@ angular.module('focaModalNotaPedido') |
5 | 5 | function($http, API_ENDPOINT) { |
6 | 6 | return { |
7 | 7 | getNotasPedido: function(usadoPor) { |
8 | - sinRemito = usadoPor === 'remito' ? '/sin-remito' : ''; | |
8 | + var sinRemito = (usadoPor === 'remito' ? '/sin-remito' : ''); | |
9 | 9 | return $http.get(API_ENDPOINT.URL + '/nota-pedido/listar' + sinRemito); |
10 | 10 | } |
11 | 11 | }; |