mirror of
https://github.com/usememos/memos.git
synced 2025-10-08 13:28:29 +08:00
fix: linter
This commit is contained in:
parent
de3e55c2e6
commit
a317f9e653
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ var MemoFilterCELAttributes = []cel.EnvOption{
|
|||
cel.Overload("now",
|
||||
[]*cel.Type{},
|
||||
cel.IntType,
|
||||
cel.FunctionBinding(func(args ...ref.Val) ref.Val {
|
||||
cel.FunctionBinding(func(_ ...ref.Val) ref.Val {
|
||||
return types.Int(time.Now().Unix())
|
||||
}),
|
||||
),
|
||||
|
|
Loading…
Add table
Reference in a new issue