mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: update find memo api
This commit is contained in:
@@ -471,8 +471,9 @@ func (s *APIV1Service) GetMemoStats(c echo.Context) error {
|
||||
normalStatus := store.Normal
|
||||
hasParentFlag := false
|
||||
findMemoMessage := &store.FindMemo{
|
||||
RowStatus: &normalStatus,
|
||||
HasParent: &hasParentFlag,
|
||||
RowStatus: &normalStatus,
|
||||
HasParent: &hasParentFlag,
|
||||
ExcludeContent: true,
|
||||
}
|
||||
if creatorID, err := util.ConvertStringToInt32(c.QueryParam("creatorId")); err == nil {
|
||||
findMemoMessage.CreatorID = &creatorID
|
||||
|
Reference in New Issue
Block a user