VRFS-3728 comment
This commit is contained in:
parent
153ed88a79
commit
48f85fecfa
|
|
@ -16,6 +16,3 @@ PLATFORMS
|
|||
|
||||
DEPENDENCIES
|
||||
pg_migrate (= 0.1.13)!
|
||||
|
||||
BUNDLED WITH
|
||||
1.10.5
|
||||
|
|
|
|||
|
|
@ -104,7 +104,8 @@ class ApiJamTracksController < ApiController
|
|||
head :ok, checksum: checksum
|
||||
return
|
||||
else
|
||||
# if the requested jamtrack is not purchased, send status code 204
|
||||
# 204: nothing purchased for user
|
||||
# 200: jamtrack purchase for user confirmed
|
||||
if JamTrackRight
|
||||
.where(jam_track_id: jtid, user_id: current_user.id)
|
||||
.limit(1)
|
||||
|
|
|
|||
Loading…
Reference in New Issue