Fix typo in dependency list format

backend-refactor
Sven Slootweg 4 years ago
parent ab227537dd
commit 96b3e5b9e3

@ -107,7 +107,10 @@ module.exports = function (state) {
task: task,
taskVersion: taskVersion,
resultLimit: 1000, // TODO: Make configurable
dependencyTaskDefinitions: JSON.stringify(taskDependencies)
dependencyTaskDefinitions: JSON.stringify(taskDependencies.map((dependency) => {
// Case-mapping for SQL compatibility
return { task_version: dependency.taskVersion, task: dependency.task };
}))
});
}).then((result) => {
let timeElapsed = Date.now() - startTime;

Loading…
Cancel
Save