mirror of
https://github.com/usememos/memos.git
synced 2025-01-31 01:36:25 +08:00
chore: fix linter errors (#2381)
* chore: fix linter errors * chore: update * chore: update
This commit is contained in:
parent
ed1ff11e80
commit
bacc529391
2 changed files with 5 additions and 7 deletions
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue