mirror of https://github.com/usememos/memos.git
chore: fix linter
This commit is contained in:
parent
89b0b81bdc
commit
71d0dbaf41
|
|
@ -23,7 +23,7 @@ func isUnauthorizeAllowedMethod(fullMethodName string) bool {
|
||||||
}
|
}
|
||||||
|
|
||||||
var allowedMethodsOnlyForAdmin = map[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,
|
"/memos.api.v1.InstanceService/UpdateInstanceSetting": true,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue