diff options
| -rw-r--r-- | info.go | 4 | ||||
| -rw-r--r-- | main.go | 2 | 
2 files changed, 4 insertions, 2 deletions
@@ -38,5 +38,7 @@ func serverInfo(ctx *gin.Context) {  		URL:         viper.GetString("instance.url"),  	} -	ctx.JSON(http.StatusOK, info) +	ctx.JSON(http.StatusOK, gin.H{ +		"data": info, +	})  } @@ -38,7 +38,7 @@ import (  	"log"  ) -const OPENBILLS_VERSION = "v0.17.0" +const OPENBILLS_VERSION = "v0.17.1"  func init() {  	if !viper.GetBool("debug_mode") {  |