Skip to content

Commit

Permalink
[FIX] Track can now be played
Browse files Browse the repository at this point in the history
  • Loading branch information
flyingrub committed Mar 22, 2016
1 parent b5489ea commit ca32a2d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/models/track.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,7 @@ const Track = Backbone.Model.extend({
let id = this.get('ressource').fileID;
cozysdk.getFileURL(id, 'file', (err, res) => {
if (res) {
let url = 'http://' + res.split('@')[1]; // to delete in prod
callback(url);
callback(res);
}
})
break;
Expand Down

0 comments on commit ca32a2d

Please sign in to comment.