Skip to content

Commit

Permalink
my mistake, this needs to be code for now (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmikey authored Mar 30, 2023
1 parent aed52af commit c43bfa0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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,
})

}

0 comments on commit c43bfa0

Please sign in to comment.