[BREAKING] Bump à version 3 #15

Merged
vlbeaudoin merged 5 commits from breaking/remove-membre-route into main 2023-06-08 21:11:28 -04:00
Showing only changes of commit 600e22a645 - Show all commits

View file

@ -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