1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-05 13:35:21 +02:00
Maybe/app/jobs/revert_import_job.rb
Zach Gollwitzer 536c82f2aa
Some checks failed
Publish Docker image / ci (push) Has been cancelled
Publish Docker image / Build docker image (push) Has been cancelled
Feature: Add the ability to "revert" a CSV import (#1814)
* Allow reverting imports

* Fix tests

* Add currency column to all imports

* Don't auto-enrich demo account
2025-02-07 15:36:05 -05:00

7 lines
114 B
Ruby

class RevertImportJob < ApplicationJob
queue_as :latency_low
def perform(import)
import.revert
end
end