DEVELOPMENT ENVIRONMENT

~liljamo/deck-builder

6a27c6ccfb5efbae38ffea48da5fb1a58bb9131f — Jonni Liljamo 1 year, 11 months ago 2ef2ad2
WIP(sdbapi): comment out future endpoints
1 files changed, 3 insertions(+), 2 deletions(-)

M sdbapi/main.go
M sdbapi/main.go => sdbapi/main.go +3 -2
@@ 48,9 48,10 @@ func createRouter() *gin.Engine {
		game := api.Group("/game").Use(middlewares.Auth())
		{
			game.GET("/:id", handlers.GameInfo)
			game.GET("/get_forming", handlers.FormingGames)
			//game.GET("/get_forming", handlers.FormingGames)
			game.POST("/create", handlers.CreateGame)
			game.PATCH("/:id/state", handlers.PatchGame)
			//game.PATCH("/:id/state", handlers.PatchGameState)
			//game.GET("/for_user/:id", handlers.UsersGames)
		}
	}
	return router