Commit 71d0dbaf authored by Steven's avatar Steven

chore: fix linter

parent 89b0b81b
......@@ -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,
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment