DEVELOPMENT ENVIRONMENT

~liljamo/deck-builder

2655beb048295ba63b80c70153579ff0d245f3fd — Jonni Liljamo 2 years ago 4d768e5
Add a temporary version number to the API
1 files changed, 1 insertions(+), 1 deletions(-)

M sdbapi/handlers/misc.go
M sdbapi/handlers/misc.go => sdbapi/handlers/misc.go +1 -1
@@ 16,5 16,5 @@ import (

// return info about the API
func Info(ctx *gin.Context) {
	ctx.JSON(http.StatusOK, gin.H{"info": "Deck Builder API"})
	ctx.JSON(http.StatusOK, gin.H{"info": "Deck Builder API", "ver": "0.0.1"})
}