diff --git a/app/controllers/api/v1/registrant/registry_locks_controller.rb b/app/controllers/api/v1/registrant/registry_locks_controller.rb index 2309cac8b..a8c78925b 100644 --- a/app/controllers/api/v1/registrant/registry_locks_controller.rb +++ b/app/controllers/api/v1/registrant/registry_locks_controller.rb @@ -38,8 +38,8 @@ module Api return if current_user.administrated_domains.include?(@domain) render json: { errors: [ - { base: ['Only administrative contacts can manage registry locks'] } - ] }, + { base: ['Only administrative contacts can manage registry locks'] } + ] }, status: :unauthorized and return end end