Skip to content

armgit / maybe

Public Imported from GitHub
0

The personal finance app for everyone

Fix trade import mapping bug

Zach Gollwitzer728b10d08e01
diff --git a/app/controllers/import/configurations_controller.rb b/app/controllers/import/configurations_controller.rb
index b399f683..b1ae9e50 100644
--- a/app/controllers/import/configurations_controller.rb
+++ b/app/controllers/import/configurations_controller.rb
@@ -20,6 +20,21 @@ class Import::ConfigurationsController < ApplicationController
end
def import_params
- params.require(:import).permit(:date_col_label, :date_format, :name_col_label, :category_col_label, :tags_col_label, :amount_col_label, :signage_convention, :account_col_label, :notes_col_label, :entity_type_col_label)
+ params.require(:import).permit(
+ :date_col_label,
+ :amount_col_label,
+ :name_col_label,
+ :category_col_label,
+ :tags_col_label,
+ :account_col_label,
+ :qty_col_label,
+ :ticker_col_label,
+ :price_col_label,
+ :entity_type_col_label,
+ :notes_col_label,
+ :currency_col_label,
+ :date_format,
+ :signage_convention
+ )
end
end