allow ios through

This commit is contained in:
Seth Call 2017-02-13 07:21:36 -06:00
parent 9ad22b35ae
commit fdd046e15f
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ class ApiJamTracksController < ApiController
end end
if params[:download] if params[:download]
if !@jam_track_right.can_download if !@jam_track_right.can_download && params[:client_type] != 'ios' # let iOS slip through when passing in download param
render :json => { :message => "Download rights not purchased"}, :status => 403 render :json => { :message => "Download rights not purchased"}, :status => 403
return return
end end