From 6b65168f031a658a9d18673d32a1d62d9ce9aa53 Mon Sep 17 00:00:00 2001 From: mmcwilliams Date: Wed, 13 Dec 2017 16:25:23 -0500 Subject: [PATCH] Obj not req --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index b85c468..e9df626 100644 --- a/index.js +++ b/index.js @@ -337,7 +337,7 @@ function bExposure (obj, cb) { if (typeof obj.exposure === 'string') { exposure = parseInt(obj.exposure) } else { - exposure = req.body.exposure + exposure = obj.exposure } } intval.setExposure(exposure)