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 /info.go | |
| parent | bc154857fb5569d7c1fa9785cc891cb927a6a156 (diff) | |
changed /info response structurev0.17.1
Diffstat (limited to 'info.go')
| -rw-r--r-- | info.go | 4 | 
1 files changed, 3 insertions, 1 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, +	})  }  |