mirror of
https://github.com/mohamadihsan/topuponline.git
synced 2026-12-05 11:06:28 +00:00
update
This commit is contained in:
@@ -295,12 +295,13 @@ const updatePayment = async (req, res) => {
|
||||
c_modify_username: null,
|
||||
c_modify_fullname: null,
|
||||
};
|
||||
let result = await model.updatePayment(data, reservation_number);
|
||||
|
||||
await model.updatePayment(data, reservation_number);
|
||||
|
||||
return res.json({
|
||||
code: "00",
|
||||
message: "payment updated successfully.",
|
||||
data: result,
|
||||
data: {},
|
||||
});
|
||||
} catch (error) {
|
||||
return res.status(500).json({
|
||||
|
||||
Reference in New Issue
Block a user