mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-24 08:08:15 -05:00
Update admin dashboard conversion types
This commit is contained in:
parent
4f43139f9f
commit
a652b70728
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ class SubscriptionHandler extends Handler
|
||||||
if event.event is 'Show subscription modal' and event.properties?.level?
|
if event.event is 'Show subscription modal' and event.properties?.level?
|
||||||
userMap[userID].conversion = event.properties.level
|
userMap[userID].conversion = event.properties.level
|
||||||
break
|
break
|
||||||
else if event.event is 'Show subscription modal' and event.properties?.label is 'buy gems modal'
|
else if event.event is 'Show subscription modal' and event.properties?.label in ['buy gems modal', 'check private clan', 'create clan']
|
||||||
userMap[userID].conversion = event.properties.label
|
userMap[userID].conversion = event.properties.label
|
||||||
break
|
break
|
||||||
@sendSuccess(res, userMap)
|
@sendSuccess(res, userMap)
|
||||||
|
|
Loading…
Reference in a new issue