From 2079a5ab252198d6b4832ae423d4bab90eb0817c Mon Sep 17 00:00:00 2001 From: Bruna Campos Date: Tue, 12 Mar 2024 15:12:22 -0300 Subject: [PATCH] refactor path id --- pkg/invoice/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/invoice/client.go b/pkg/invoice/client.go index be464259..189c76d1 100644 --- a/pkg/invoice/client.go +++ b/pkg/invoice/client.go @@ -11,7 +11,7 @@ import ( const ( urlBase = "https://api.mercadopago.com/authorized_payments" urlSearch = urlBase + "/search" - urlWithID = urlBase + "/:id" + urlWithID = urlBase + "/{id}" ) // Client contains the methods to interact with the Invoice API.