Skip to content

Commit b4c9860

Browse files
committed
Fix track insertion
1 parent e827972 commit b4c9860

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/tasks/shows.rake

+2-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ namespace :shows do
2222

2323
desc "Insert a track"
2424
task insert_track: :environment do
25-
TrackInserter.call \
25+
TrackInserter.new(
2626
date: ENV["DATE"],
2727
position: ENV["POSITION"],
2828
file: ENV["FILE"],
@@ -31,6 +31,7 @@ namespace :shows do
3131
set: ENV["SET"],
3232
is_sbd: ENV["SBD"].present?,
3333
slug: ENV["SLUG"]
34+
).call
3435
puts "Track inserted"
3536
end
3637

0 commit comments

Comments
 (0)