From 9b43fb9988e53a579fd9dffbdc890b0817f575c2 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Sat, 11 Oct 2025 20:57:35 +0530 Subject: changed /info response structure --- info.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'info.go') diff --git a/info.go b/info.go index 2f161a9..dc45f85 100644 --- a/info.go +++ b/info.go @@ -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, + }) } -- cgit v1.2.3