chore: fix linter errors (#2381)

* chore: fix linter errors

* chore: update

* chore: update
This commit is contained in:
boojack 2023-10-13 09:53:02 -05:00 committed by GitHub
parent ed1ff11e80
commit bacc529391
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 7 deletions

View File

@ -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
}

View File

@ -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
}