Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

fix: linter

Stevena317f9e6536e
diff --git a/plugin/filter/filter.go b/plugin/filter/filter.go
index e3eed9a4d..576b7d8a4 100644
--- a/plugin/filter/filter.go
+++ b/plugin/filter/filter.go
@@ -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())
}),
),