diff --git a/api/app/detectCode.js b/api/app/detectCode.js index 34de71e6f6..b631d1921e 100644 --- a/api/app/detectCode.js +++ b/api/app/detectCode.js @@ -45,7 +45,7 @@ const detectCode = async (input) => { return (await Promise.all(output)).join(''); } catch (e) { console.log('Error in detectCode function\n', e); - return text; + return input; } };