mirror of
https://github.com/mohamadihsan/topuponline.git
synced 2026-12-06 11:06:28 +00:00
update inquiry by load balance number
This commit is contained in:
@@ -2315,7 +2315,7 @@ const inquiryListLoadingBalance = async (req, res) => {
|
||||
} else {
|
||||
let byLoadBalanceNumber = await model.inquiryListByLoadNumber(load_balance_number);
|
||||
|
||||
if(!byLoadBalanceNumber){
|
||||
if(byLoadBalanceNumber.length == 0){
|
||||
return res.status(200).json({
|
||||
code: '419',
|
||||
message: "data doesn't exist",
|
||||
|
||||
Reference in New Issue
Block a user