made changes in tankerbooking latitude and longitude are removed

master
varun 2 years ago
parent 64741326e5
commit 00bee542bf

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

Loading…
Cancel
Save