should fix issue with creating new tracks

This commit is contained in:
Tangent 2019-06-27 19:38:07 -07:00
parent aa4b02c195
commit db60d9c4b8

View File

@ -39,7 +39,7 @@ update_track = (user_input) ->
track\update updates
create_track = (user_input) ->
if track = Tracks\create!
if track = Tracks\create({})
user_input.id = track.id
update_track user_input