mirror of
https://github.com/internetee/registry.git
synced 2025-06-11 07:04:47 +02:00
Do not use bang version of methods
This commit is contained in:
parent
eddf39ea9b
commit
d84d7cf772
1 changed files with 2 additions and 1 deletions
|
@ -10,7 +10,8 @@ module Concerns::Domain::Deletable
|
|||
end
|
||||
|
||||
def do_not_delete_later
|
||||
QueJob.find_by!("args->>0 = '#{id}'", job_class: DomainDeleteJob.name).destroy!
|
||||
# Que job can be manually deleted in admin area UI
|
||||
QueJob.find_by("args->>0 = '#{id}'", job_class: DomainDeleteJob.name)&.destroy
|
||||
end
|
||||
|
||||
def deletion_time_span
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue