mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-27 17:45:40 -05:00
🐛Fix managed subs next payment UI
This commit is contained in:
parent
5c240d89cd
commit
5fb8b18a31
1 changed files with 1 additions and 1 deletions
|
@ -306,7 +306,7 @@ class RecipientSubs
|
||||||
|
|
||||||
options = { cache: false, url: "/db/user/#{me.id}/stripe" }
|
options = { cache: false, url: "/db/user/#{me.id}/stripe" }
|
||||||
options.success = (info) =>
|
options.success = (info) =>
|
||||||
@sponsorSub = info.subscription
|
@sponsorSub = info.sponsorSubscription
|
||||||
if card = info.card
|
if card = info.card
|
||||||
@card = "#{card.brand}: x#{card.last4}"
|
@card = "#{card.brand}: x#{card.last4}"
|
||||||
render()
|
render()
|
||||||
|
|
Loading…
Reference in a new issue