mirror of
https://github.com/internetee/registry.git
synced 2025-07-26 04:28:27 +02:00
Fix domain deletion deadline
This commit is contained in:
parent
30ddf83ee4
commit
b4e26952d6
1 changed files with 2 additions and 2 deletions
|
@ -20,6 +20,6 @@ module Concerns::Domain::Deletable
|
|||
end
|
||||
|
||||
def deletion_deadline
|
||||
delete_date + 24.hours
|
||||
(delete_date || Time.zone.now) + 24.hours
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue