mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 01:11:43 +02:00
fixed codeclimate errors
This commit is contained in:
parent
e0c47cdb35
commit
788af6cc5f
15 changed files with 32 additions and 31 deletions
|
@ -216,7 +216,8 @@ class Epp::Domain < Domain
|
|||
return transfers.last if transfers.any?
|
||||
when 'request'
|
||||
return pending_transfer if pending_transfer
|
||||
return query_transfer(frame, current_user)
|
||||
|
||||
query_transfer(frame, current_user)
|
||||
when 'approve'
|
||||
return approve_transfer(frame, current_user) if pending_transfer
|
||||
when 'reject'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue