DEVELOPMENT ENVIRONMENT

~liljamo/deck-builder

032987c55e13a36e83e19f7acf08643df41fd599 — Jonni Liljamo 1 year, 8 months ago e170bef
feat(sdbapi): return whole game from create game
1 files changed, 1 insertions(+), 1 deletions(-)

M sdbapi/handlers/gamecreate.go
M sdbapi/handlers/gamecreate.go => sdbapi/handlers/gamecreate.go +1 -1
@@ 32,5 32,5 @@ func CreateGame(c *gin.Context) {
		return
	}

	c.JSON(http.StatusCreated, gin.H{"id": game.ID})
	c.JSON(http.StatusCreated, game)
}