mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
fix: linter
This commit is contained in:
@@ -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())
|
||||||
}),
|
}),
|
||||||
),
|
),
|
||||||
|
Reference in New Issue
Block a user