Browse Source

Set the bulk upload value for correct log type (#2533)

pull/2530/head^2
kosiakkatrina 5 months ago committed by GitHub
parent
commit
523f931770
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      app/services/bulk_upload/lettings/log_creator.rb
  2. 1
      app/services/bulk_upload/sales/log_creator.rb

1
app/services/bulk_upload/lettings/log_creator.rb

@ -7,6 +7,7 @@ class BulkUpload::Lettings::LogCreator
end
def call
@bulk_upload.update!(rent_type_fix_status: BulkUpload.rent_type_fix_statuses[:not_needed])
row_parsers.each do |row_parser|
row_parser.valid?

1
app/services/bulk_upload/sales/log_creator.rb

@ -7,7 +7,6 @@ class BulkUpload::Sales::LogCreator
end
def call
@bulk_upload.update!(rent_type_fix_status: BulkUpload.rent_type_fix_statuses[:not_needed])
row_parsers.each do |row_parser|
row_parser.valid?

Loading…
Cancel
Save