From 600e22a645d8cf95ad301200cc148ab9813fc586 Mon Sep 17 00:00:00 2001 From: Victor Lacasse-Beaudoin Date: Thu, 8 Jun 2023 21:08:20 -0400 Subject: [PATCH] =?UTF-8?q?Retirer=20num=C3=A9ro=20de=20version=20de=20doc?= =?UTF-8?q?string?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- handlers/transaction.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/handlers/transaction.go b/handlers/transaction.go index ccc77b6..ecd20d9 100644 --- a/handlers/transaction.go +++ b/handlers/transaction.go @@ -12,7 +12,7 @@ import ( "github.com/spf13/viper" ) -// GetTransactions lists transactions on GET /v2/transactions http/1.1 +// GetTransactions handles the listing of transactions func GetTransactions(c echo.Context) error { var statusCode int = http.StatusInternalServerError var response responses.GetTransactionsResponse @@ -46,7 +46,7 @@ func GetTransactions(c echo.Context) error { return c.JSON(statusCode, response) } -// PostTransactions creates transactions on POST /v2/transactions http/1.1 +// PostTransactions handles the creation of transactions func PostTransactions(c echo.Context) error { var statusCode int = http.StatusInternalServerError var response responses.PostTransactionsResponse