Skip to content

Commit

Permalink
Use interpolation for file_path
Browse files Browse the repository at this point in the history
  • Loading branch information
amaierhofer authored and TheWalkingLeek committed Jun 13, 2024
1 parent ff0b3ce commit 0d8ec77
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions app/jobs/export/backup_mitglieder_export_job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,6 @@ def sftp_config
end

def file_path
[
'sektionen',
@group.navision_id,
"Adressen_#{@group.navision_id_padded}.csv"
].join('/')
"sektionen/#{@group.navision_id}/Adressen_#{@group.navision_id_padded}.csv"
end
end

0 comments on commit 0d8ec77

Please sign in to comment.