feat: save submission to db (#64450)

This commit is contained in:
Shaun Hamilton
2025-12-12 09:31:25 +02:00
committed by GitHub
parent 0a5f192370
commit 33b1967a25
62 changed files with 113 additions and 60 deletions
@@ -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,