Skip to content

Commit 98dd5e3

Browse files
committed
Correção de endpoint Catálogo ObterPorId
1 parent 6700a2e commit 98dd5e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api gateways/JSE.Bff.Compras/Services/CatalogoService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public CatalogoService(HttpClient httpClient, IOptions<AppServicesSettings> sett
1717

1818
public async Task<ItemProdutoDTO> ObterPorId(Guid id)
1919
{
20-
var response = await _httpClient.GetAsync($"/catalogo/produto/{id}");
20+
var response = await _httpClient.GetAsync($"/catalogo/produtos/{id}");
2121

2222
TratarErrosResponse(response);
2323

0 commit comments

Comments
 (0)