fix: delete response json

This commit is contained in:
email
2022-02-05 13:17:43 +08:00
parent f982391a83
commit 61cf4512b0
4 changed files with 7 additions and 4 deletions

View File

@ -89,6 +89,8 @@ func (s *Server) registerResourceRoutes(g *echo.Group) {
return echo.NewHTTPError(http.StatusInternalServerError, "Failed to delete resource").SetInternal(err)
}
c.JSON(http.StatusOK, true)
return nil
})
}