Skip to content

armgit / memos

Public Imported from GitHub
0

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.

chore: get tags from exist memos

boojackceef25734839
diff --git a/server/tag.go b/server/tag.go
index 319af37e4..205445cf5 100644
--- a/server/tag.go
+++ b/server/tag.go
@@ -13,9 +13,11 @@ func (s *Server) registerTagRoutes(g *echo.Group) {
g.GET("/tag", func(c echo.Context) error {
userID := c.Get(getUserIDContextKey()).(int)
contentSearch := "#"
+ normalRowStatus := api.Normal
memoFind := api.MemoFind{
CreatorID: &userID,
ContentSearch: &contentSearch,
+ RowStatus: &normalRowStatus,
}
memoList, err := s.Store.FindMemoList(&memoFind)