From 8fa4d99edd09d048fa7e677ed48e0b49d97f7b2f Mon Sep 17 00:00:00 2001 From: Adekunle21 <94990775+Adekunle21@users.noreply.github.com> Date: Thu, 15 Feb 2024 20:41:28 -0500 Subject: [PATCH] Update arithmeticController.js --- api/controllers/arithmeticController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/controllers/arithmeticController.js b/api/controllers/arithmeticController.js index 0fccf513d7..b80bd87ac7 100644 --- a/api/controllers/arithmeticController.js +++ b/api/controllers/arithmeticController.js @@ -11,7 +11,7 @@ exports.calculate = function(req, res) { }); var operations = { - 'add': function(a,b) { return +a + +b }, + 'add': function(a,b) { return a + b }, 'subtract': function(a,b) { return a - b }, 'multiply': function(a,b) { return a * b }, 'divide': function(a,b) { return a / b },