diff --git a/batchOperations.js b/batchOperations.js index 33f81a8..bd4fcaf 100644 --- a/batchOperations.js +++ b/batchOperations.js @@ -286,7 +286,7 @@ function reprocessBatch(s3Prefix, batchId, region, omitFiles, callback) { msg = "Batch is Empty!"; logger.info(msg); callback(msg); - } else if (data.status.S === open) { + } else if (data.status.S === "open") { msg = "Cannot reprocess an Open Batch"; logger.error(msg); callback(msg);