fix bug in signup plus posa claim
This commit is contained in:
parent
60543897d4
commit
2d1c4bc507
|
|
@ -1337,7 +1337,7 @@ module JamRuby
|
|||
if gift_card
|
||||
|
||||
# first try posa card
|
||||
posa_card = PosaCard.where(code: gift_card)
|
||||
posa_card = PosaCard.where(code: gift_card).first
|
||||
|
||||
if posa_card
|
||||
posa_card.claim(user)
|
||||
|
|
|
|||
Loading…
Reference in New Issue