mirror of
https://github.com/internetee/registry.git
synced 2025-06-07 21:25:39 +02:00
Fix error
This commit is contained in:
parent
5e331bef22
commit
ab3b957d07
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ module Admin
|
|||
end
|
||||
|
||||
def update
|
||||
rollback_history = @domain.json_statuses_history['admin_store_statuses_history']
|
||||
rollback_history = @domain.json_statuses_history&.[]('admin_store_statuses_history')
|
||||
dp = ignore_empty_statuses
|
||||
@domain.is_admin = true
|
||||
@domain.admin_status_update dp[:statuses]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue