Bump all routes /v2 -> /v3

This commit is contained in:
Victor Lacasse-Beaudoin 2023-06-08 21:05:25 -04:00
parent 5915e3ca7b
commit fe1caec61e

View file

@ -55,12 +55,12 @@ var apiCmd = &cobra.Command{
// Routes // 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.GET("/v3/transactions/", handlers.GetTransactions)
e.POST("/v2/transactions/", handlers.PostTransactions) e.POST("/v3/transactions/", handlers.PostTransactions)
// Check bottin is ready // Check bottin is ready