From c43bfa00e4e7cfbea4c3c0f132c0660514182164 Mon Sep 17 00:00:00 2001 From: Derek Anderson Date: Wed, 29 Mar 2023 21:43:03 -0500 Subject: [PATCH] my mistake, this needs to be code for now (#68) --- api/install.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/install.go b/api/install.go index 860ac993..48a510fb 100644 --- a/api/install.go +++ b/api/install.go @@ -53,7 +53,7 @@ func (a *API) Install(ctx echo.Context) error { // return inner code as body return ctx.JSON(200, map[string]interface{}{ - "status": status, + "code": status, }) // Work done. @@ -67,7 +67,7 @@ func (a *API) Install(ctx echo.Context) error { } return ctx.JSON(http.StatusOK, map[string]interface{}{ - "status": http.StatusOK, + "code": http.StatusOK, }) }