From 41d19321a864df5152b5834cbee541c3e3d29818 Mon Sep 17 00:00:00 2001 From: "F. Hinkelmann" Date: Mon, 26 Nov 2018 21:56:55 -0500 Subject: [PATCH] Delete unused variable in ocr (#936) --- functions/ocr/app/config.default.json | 1 - functions/ocr/app/test/index.test.js | 1 - 2 files changed, 2 deletions(-) diff --git a/functions/ocr/app/config.default.json b/functions/ocr/app/config.default.json index 80a2589c1a..1236fb90c0 100644 --- a/functions/ocr/app/config.default.json +++ b/functions/ocr/app/config.default.json @@ -2,6 +2,5 @@ "RESULT_TOPIC": "[RESULT_TOPIC_NAME]", "RESULT_BUCKET": "[RESULT_BUCKET_NAME]", "TRANSLATE_TOPIC": "[TRANSLATE_TOPIC_NAME]", - "TRANSLATE": true, "TO_LANG": ["en", "fr", "es", "ja", "ru"] } \ No newline at end of file diff --git a/functions/ocr/app/test/index.test.js b/functions/ocr/app/test/index.test.js index 6201b7773c..7a9684ee76 100644 --- a/functions/ocr/app/test/index.test.js +++ b/functions/ocr/app/test/index.test.js @@ -32,7 +32,6 @@ function getSample () { RESULT_TOPIC: `result-topic`, RESULT_BUCKET: `result-bucket`, TRANSLATE_TOPIC: `translate-topic`, - TRANSLATE: true, TO_LANG: [`en`, `fr`, `es`, `ja`, `ru`] }; const topic = {