From bf52ad7159f335c2f444ec72f2c2eb6fff469411 Mon Sep 17 00:00:00 2001 From: Sarah Abdullah <92890977+SarahAlsarami@users.noreply.github.com> Date: Wed, 15 Dec 2021 23:02:56 +0300 Subject: [PATCH] Update index.js --- index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.js b/index.js index 36d29c47..b7a7fc05 100644 --- a/index.js +++ b/index.js @@ -42,11 +42,11 @@ function getFastTextResults(statement) { console.log(error) return; } - console.log(success) + result=success }) - return "success!"; + return result; } app.listen(8000, () => { console.log('Listening on port 8000!') -}); \ No newline at end of file +});