diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2025-10-11 20:57:35 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2025-10-11 20:57:35 +0530 |
commit | 9b43fb9988e53a579fd9dffbdc890b0817f575c2 (patch) | |
tree | 8d3a3fe68e77b6ca736aeb1efa49d2fedf604250 | |
parent | bc154857fb5569d7c1fa9785cc891cb927a6a156 (diff) |
changed /info response structurev0.17.1
-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") { |