Bhaskara Kishore 2 years ago
commit 5dcc261c20

@ -524,6 +524,7 @@ exports.calculateCapacity = async (req, reply) => {
}
if(shape==="horizontalellipse"){
const { length, width, height } = req.body
@ -544,6 +545,16 @@ if(shape==="horizontalellipse"){
return { message: 'success' };
}
if(shape==="userdefined"){
const capacity = req.body
reply.send({ status_code: 200, capacity: capacity});
return { message: 'success' };
}
}

Loading…
Cancel
Save