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

Steven71d0dbaf413a
diff --git a/server/router/api/v1/acl_config.go b/server/router/api/v1/acl_config.go
index 54745bcd9..2f9caa500 100644
--- a/server/router/api/v1/acl_config.go
+++ b/server/router/api/v1/acl_config.go
@@ -23,7 +23,7 @@ func isUnauthorizeAllowedMethod(fullMethodName string) bool {
}
var allowedMethodsOnlyForAdmin = map[string]bool{
- "/memos.api.v1.UserService/CreateUser": true,
+ "/memos.api.v1.UserService/CreateUser": true,
"/memos.api.v1.InstanceService/UpdateInstanceSetting": true,
}