From ceef257348393864ed1f45bac52d3b50873f36e8 Mon Sep 17 00:00:00 2001 From: boojack Date: Tue, 21 Jun 2022 23:29:07 +0800 Subject: [PATCH] chore: get tags from exist memos --- server/tag.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/tag.go b/server/tag.go index 319af37e..205445cf 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)