allow ios through
This commit is contained in:
parent
9ad22b35ae
commit
fdd046e15f
|
|
@ -164,7 +164,7 @@ class ApiJamTracksController < ApiController
|
|||
end
|
||||
|
||||
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
|
||||
return
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue