From 24a402ba7a817ec445e91f6f7f595e99196cc4b2 Mon Sep 17 00:00:00 2001 From: "Stanislav N. aka pztrn" Date: Mon, 27 Apr 2020 03:51:24 +0500 Subject: [PATCH] Really push back whole configuration. Related to #15 --- domains/server/v1/configapi.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/domains/server/v1/configapi.go b/domains/server/v1/configapi.go index 6fdd231..df7e164 100644 --- a/domains/server/v1/configapi.go +++ b/domains/server/v1/configapi.go @@ -14,7 +14,7 @@ import ( // This function responsible for getting runtime configuration. func configurationGET(ec echo.Context) error { - return ec.JSON(http.StatusOK, configuration.Cfg.GetAllPackagesInfo()) + return ec.JSON(http.StatusOK, configuration.Cfg) } func configurationAllowedIPsSET(ec echo.Context) error {