mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-14 14:04:38 -04:00
Send out transpiled code with simulator task
This commit is contained in:
parent
f32a0ca963
commit
1e0f220352
1 changed files with 2 additions and 1 deletions
|
@ -272,6 +272,7 @@ constructTaskObject = (taskMessageBody, message, callback) ->
|
|||
"submitDate": session.submitDate
|
||||
"team": session.team ? "No team"
|
||||
"code": session.submittedCode
|
||||
"transpiledCode": session.transpiledCode
|
||||
"teamSpells": session.teamSpells ? {}
|
||||
"levelID": session.levelID
|
||||
"creator": session.creator
|
||||
|
@ -296,7 +297,7 @@ processTaskObject = (taskObject,taskLogObject, message, cb) ->
|
|||
getSessionInformation = (sessionIDString, callback) ->
|
||||
findParameters =
|
||||
_id: sessionIDString
|
||||
selectString = 'submitDate team submittedCode teamSpells levelID creator creatorName'
|
||||
selectString = 'submitDate team submittedCode teamSpells levelID creator creatorName transpiledCode'
|
||||
query = LevelSession
|
||||
.findOne(findParameters)
|
||||
.select(selectString)
|
||||
|
|
Loading…
Add table
Reference in a new issue