mirror of
https://github.com/usememos/memos.git
synced 2025-10-09 13:56:40 +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.Overload("now",
|
||||||
[]*cel.Type{},
|
[]*cel.Type{},
|
||||||
cel.IntType,
|
cel.IntType,
|
||||||
cel.FunctionBinding(func(args ...ref.Val) ref.Val {
|
cel.FunctionBinding(func(_ ...ref.Val) ref.Val {
|
||||||
return types.Int(time.Now().Unix())
|
return types.Int(time.Now().Unix())
|
||||||
}),
|
}),
|
||||||
),
|
),
|
||||||
|
|
Loading…
Add table
Reference in a new issue