@@ -347,6 +347,9 @@ function transferResult(src, helper) {
347
347
if ( row . final_fix_end_date ) {
348
348
challenge . finalFixEndDate = formatDate ( row . final_fix_end_date ) ;
349
349
}
350
+ if ( ! _ . isDefined ( row . checkpoint_submission_end_date ) ) {
351
+ delete challenge . checkpointSubmissionEndDate ;
352
+ }
350
353
351
354
//use xtend to preserve ordering of attributes
352
355
challenge = extend ( challenge , {
@@ -1029,7 +1032,7 @@ var submitForDevelopChallenge = function (api, connection, dbConnectionMap, next
1029
1032
fileName : fileName
1030
1033
} ) ;
1031
1034
api . dataAccess . executeQuery ( "insert_upload" , sqlParams , dbConnectionMap , cb ) ;
1032
- } , function ( notUsed , cb ) {
1035
+ } , function ( notUsed , cb ) {
1033
1036
//Now check if the contest is a CloudSpokes one and if it needs to submit the thurgood job
1034
1037
if ( ! _ . isUndefined ( thurgoodPlatform ) && ! _ . isUndefined ( thurgoodLanguage ) && type === 'final' ) {
1035
1038
//Make request to the thurgood job api url
@@ -1247,7 +1250,7 @@ exports.getChallengeTerms = {
1247
1250
outputExample : { } ,
1248
1251
version : 'v2' ,
1249
1252
transaction : 'read' , // this action is read-only
1250
- cacheEnabled : false ,
1253
+ cacheEnabled : false ,
1251
1254
databases : [ "tcs_catalog" , "common_oltp" ] ,
1252
1255
run : function ( api , connection , next ) {
1253
1256
if ( connection . dbConnectionMap ) {
@@ -1876,7 +1879,7 @@ var SOURCE_DIR = 'source/';
1876
1879
/**
1877
1880
* The directory in the unified zip that contains the submission files
1878
1881
*/
1879
- var SUBMISSION_DIR = 'submission/'
1882
+ var SUBMISSION_DIR = 'submission/' ;
1880
1883
1881
1884
/**
1882
1885
* Generates a unified submission zip for design submissions using the 3 files that submitters submit
0 commit comments