diff --git a/cmd/http-server/main.go b/cmd/http-server/main.go index 73939cb..774b98c 100644 --- a/cmd/http-server/main.go +++ b/cmd/http-server/main.go @@ -54,6 +54,7 @@ func main() { { cardsRoutes.POST("/add", handlers.CardAdd) cardsRoutes.GET("/:id", handlers.CardGetId) + cardsRoutes.GET("/all", handlers.CardGetAll) cardsRoutes.PUT("/edit/:id", handlers.CardPutId) cardsRoutes.DELETE("/delete/:id", handlers.CardDeleteId) }