mirror of
https://github.com/usememos/memos.git
synced 2024-09-11 03:55:30 +03:00
chore: fix linter errors (#2381)
* chore: fix linter errors * chore: update * chore: update
This commit is contained in:
parent
ed1ff11e80
commit
bacc529391
@ -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 New Issue
Block a user