mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 06:34:46 +02:00
Fix typo in administered_domains method name
This commit is contained in:
parent
fc2a4eaa9b
commit
d725960403
3 changed files with 4 additions and 4 deletions
|
@ -35,7 +35,7 @@ module Api
|
|||
end
|
||||
|
||||
def authorized_to_manage_locks?
|
||||
return if current_user.administrated_domains.include?(@domain)
|
||||
return if current_user.administered_domains.include?(@domain)
|
||||
|
||||
render json: { errors: [
|
||||
{ base: ['Only administrative contacts can manage registry locks'] }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue