mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-14 07:00:01 -04:00
Add state to delighted data if state was populated by nces
This commit is contained in:
parent
b4baad82b0
commit
490ea8d1bc
1 changed files with 2 additions and 0 deletions
|
@ -17,6 +17,8 @@ module.exports.addDelightedUser = addDelightedUser = (user, trialRequest) ->
|
|||
testGroupNumber: user.get('testGroupNumber')
|
||||
gender: user.get('gender')
|
||||
lastLevel: user.get('lastLevel')
|
||||
state: if props.nces_id and props.country is 'USA' then props.state else 'other'
|
||||
|
||||
@postPeople(form)
|
||||
|
||||
module.exports.postPeople = (form) ->
|
||||
|
|
Loading…
Reference in a new issue