diff --git a/api/v2/memo_service.go b/api/v2/memo_service.go index 9924ae13..6310d8af 100644 --- a/api/v2/memo_service.go +++ b/api/v2/memo_service.go @@ -200,7 +200,11 @@ func parseListMemosFilter(expression string) (*ListMemosFilter, error) { return nil, errors.Errorf("found issue %v", issues) } filter := &ListMemosFilter{} - callExpr := ast.Expr().GetCallExpr() + expr, err := cel.AstToParsedExpr(ast) + if err != nil { + return nil, err + } + callExpr := expr.GetExpr().GetCallExpr() findField(callExpr, filter) return filter, nil } diff --git a/proto/store/activity.proto b/proto/store/activity.proto index 1e4ab177..5990f042 100644 --- a/proto/store/activity.proto +++ b/proto/store/activity.proto @@ -3,9 +3,3 @@ syntax = "proto3"; package memos.store; option go_package = "gen/store"; - -message ActivityMemoCommentCreatePayload { - int32 memo_id = 1; - int32 user_id = 2; - int32 -}