From aa5cf807c6f6e359f216af5cd00b28b1ddaea4eb Mon Sep 17 00:00:00 2001 From: Mohamad Ihsan Date: Thu, 19 May 2022 16:01:15 +0700 Subject: [PATCH] update --- .../modules/reservebalance/reservebalance.controller.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/application/modules/reservebalance/reservebalance.controller.js b/application/modules/reservebalance/reservebalance.controller.js index 5fc5a7e..c65ccfc 100644 --- a/application/modules/reservebalance/reservebalance.controller.js +++ b/application/modules/reservebalance/reservebalance.controller.js @@ -217,7 +217,9 @@ const reservation = async (req, res) => { return res.status(201).json({ code: "00", message: "reservation saved successfully.", - data: reservationNumber, + data: { + reservation_number: reservationNumber + }, }); } catch (error) { return res.status(500).json({