mirror of
https://github.com/aykhans/slash-e.git
synced 2025-07-05 12:42:35 +00:00
chore: fix method name
This commit is contained in:
@ -13,7 +13,7 @@ func isUnauthorizeAllowedMethod(methodName string) bool {
|
||||
}
|
||||
|
||||
var allowedMethodsOnlyForAdmin = map[string]bool{
|
||||
"/slash.v2.UserService/CreateUser": true,
|
||||
"/slash.api.v2.UserService/CreateUser": true,
|
||||
}
|
||||
|
||||
// isOnlyForAdminAllowedMethod returns true if the method is allowed to be called only by admin.
|
||||
|
Reference in New Issue
Block a user