Obj not req

This commit is contained in:
mmcwilliams 2017-12-13 16:25:23 -05:00
parent 2a28b622f0
commit 6b65168f03
1 changed files with 1 additions and 1 deletions

View File

@ -337,7 +337,7 @@ function bExposure (obj, cb) {
if (typeof obj.exposure === 'string') { if (typeof obj.exposure === 'string') {
exposure = parseInt(obj.exposure) exposure = parseInt(obj.exposure)
} else { } else {
exposure = req.body.exposure exposure = obj.exposure
} }
} }
intval.setExposure(exposure) intval.setExposure(exposure)