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

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