Fixing issue for cero competitions running.

This commit is contained in:
mati108@gmail.com committed 2018-11-23 09:09:40 -03:00
1 parent 329bc17582
commit 8503076bf1
1 file changed
+4
+4
View File
@@ -145,6 +145,10 @@ function newCompetitionStorage(pName) {
thisObject.competitorsSequences.push(fileSequences);
if (pCompetition.participants.length === 0) { //If there are no competitions, respond OK
callBackFunction(GLOBAL.DEFAULT_OK_RESPONSE);
}
} catch (err) {
if (ERROR_LOG === true) { logger.write("[ERROR] initialize -> err = " + err); }