Add checking for closed disputes

This commit is contained in:
dinsmol 2022-02-08 01:53:54 +03:00
parent 5cb6b0ae1e
commit 60de343cb8
2 changed files with 15 additions and 2 deletions

View 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