Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.
Go dockerfossgomarkdownmemomicroblognote-takingnotesopen-sourceown-your-datareactself-hostedsqlitetimeline
fix: remove memo list api (#1151)
boojack6e2e7ac78299
diff --git a/server/memo.go b/server/memo.goindex 2354ecce3..c47958634 100644--- a/server/memo.go+++ b/server/memo.go@@ -334,23 +334,6 @@ func (s *Server) registerMemoRoutes(g *echo.Group) {return c.JSON(http.StatusOK, composeResponse(resourceList))})- g.GET("/memo/amount", func(c echo.Context) error {- ctx := c.Request().Context()- normalRowStatus := api.Normal- memoFind := &api.MemoFind{- RowStatus: &normalRowStatus,- }- if userID, err := strconv.Atoi(c.QueryParam("userId")); err == nil {- memoFind.CreatorID = &userID- }-- memoList, err := s.Store.FindMemoList(ctx, memoFind)- if err != nil {- return echo.NewHTTPError(http.StatusInternalServerError, "Failed to find memo list").SetInternal(err)- }- return c.JSON(http.StatusOK, composeResponse(memoList))- })-g.GET("/memo/stats", func(c echo.Context) error {ctx := c.Request().Context()normalStatus := api.Normal