|  |  | @ -325,8 +325,7 @@ exports.amountUpdateByDeliveryBoy = async (req, reply) => { | 
			
		
	
		
		
			
				
					
					|  |  |  |     if(final_amount_due === 0){ |  |  |  |     if(final_amount_due === 0){ | 
			
		
	
		
		
			
				
					
					|  |  |  |       await Tankerbooking.findOneAndUpdate({bookingid:req.params.bookingId}, { $set: { payment_status:"paid" }}); |  |  |  |       await Tankerbooking.findOneAndUpdate({bookingid:req.params.bookingId}, { $set: { payment_status:"paid" }}); | 
			
		
	
		
		
			
				
					
					|  |  |  |     } |  |  |  |     } | 
			
		
	
		
		
			
				
					
					|  |  |  |     reply.send |  |  |  |     reply.send({ status_code: 200, "message": "successfully updated"});    | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       |  |  |  |  | 
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |   } catch (err) { |  |  |  |   } catch (err) { | 
			
		
	
		
		
			
				
					
					|  |  |  |     throw boom.boomify(err); |  |  |  |     throw boom.boomify(err); | 
			
		
	
		
		
			
				
					
					|  |  |  |   } |  |  |  |   } | 
			
		
	
	
		
		
			
				
					|  |  | 
 |