mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
feat: save submission to db (#64450)
This commit is contained in:
@@ -100,7 +100,8 @@ exports.createChallengePages = function (
|
||||
template,
|
||||
challengeType,
|
||||
id,
|
||||
isLastChallengeInBlock
|
||||
isLastChallengeInBlock,
|
||||
saveSubmissionToDB
|
||||
} = node.challenge;
|
||||
|
||||
createPage({
|
||||
@@ -123,7 +124,8 @@ exports.createChallengePages = function (
|
||||
isLastChallengeInBlock: isLastChallengeInBlock,
|
||||
nextChallengePath: idToNextPathCurrentCurriculum[node.id],
|
||||
prevChallengePath: idToPrevPathCurrentCurriculum[node.id],
|
||||
id
|
||||
id,
|
||||
saveSubmissionToDB
|
||||
},
|
||||
projectPreview: getProjectPreviewConfig(
|
||||
node.challenge,
|
||||
|
||||
Reference in New Issue
Block a user