From fe1caec61e58211ed5d9d6afe56b9554e0564e35 Mon Sep 17 00:00:00 2001 From: Victor Lacasse-Beaudoin Date: Thu, 8 Jun 2023 21:05:25 -0400 Subject: [PATCH] Bump all routes /v2 -> /v3 --- cmd/api.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cmd/api.go b/cmd/api.go index 03b6e30..7297270 100644 --- a/cmd/api.go +++ b/cmd/api.go @@ -55,12 +55,12 @@ var apiCmd = &cobra.Command{ // Routes - e.POST("/v2/seed/", handlers.PostSeed) + e.POST("/v3/seed/", handlers.PostSeed) - e.GET("/v2/health/", handlers.GetHealth) + e.GET("/v3/health/", handlers.GetHealth) - e.GET("/v2/transactions/", handlers.GetTransactions) - e.POST("/v2/transactions/", handlers.PostTransactions) + e.GET("/v3/transactions/", handlers.GetTransactions) + e.POST("/v3/transactions/", handlers.PostTransactions) // Check bottin is ready