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.

chore: fix linter

Stevenfd29a98c901e
diff --git a/server/router/api/v1/instance_service.go b/server/router/api/v1/instance_service.go
index 9d0f7fac0..48f3614ee 100644
--- a/server/router/api/v1/instance_service.go
+++ b/server/router/api/v1/instance_service.go
@@ -293,6 +293,6 @@ func (s *APIV1Service) GetInstanceOwner(ctx context.Context) (*v1pb.User, error)
// ClearInstanceOwnerCache clears the cached instance owner.
// This should be called when an admin user is created or when the owner changes.
-func (s *APIV1Service) ClearInstanceOwnerCache() {
+func (*APIV1Service) ClearInstanceOwnerCache() {
ownerCache = nil
}