mirror of
https://github.com/internetee/registry.git
synced 2025-07-25 12:08:27 +02:00
Add checking for closed disputes
This commit is contained in:
parent
5cb6b0ae1e
commit
60de343cb8
2 changed files with 15 additions and 2 deletions
8
lib/tasks/check_closed_disputes.rake
Normal file
8
lib/tasks/check_closed_disputes.rake
Normal file
|
@ -0,0 +1,8 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
namespace :disputes do
|
||||
desc 'Check closed disputes with expired_at in the Past'
|
||||
task check_closed: :environment do
|
||||
DisputeStatusUpdateJob.perform_now(include_closed: true)
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue