Obj not req
This commit is contained in:
parent
2a28b622f0
commit
6b65168f03
2
index.js
2
index.js
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue