mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-06 22:15:20 +02:00
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
This commit is contained in:
parent
60925bd16c
commit
536c82f2aa
17 changed files with 125 additions and 6 deletions
7
app/jobs/revert_import_job.rb
Normal file
7
app/jobs/revert_import_job.rb
Normal file
|
@ -0,0 +1,7 @@
|
|||
class RevertImportJob < ApplicationJob
|
||||
queue_as :latency_low
|
||||
|
||||
def perform(import)
|
||||
import.revert
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue