This commit is contained in:
2022-07-09 12:34:57 +07:00
parent e1876b4417
commit cd1a4ab8d5
2 changed files with 3 additions and 1 deletions
@@ -31,7 +31,7 @@ const getDongleOrder = async (req, res) => {
// get RO
let getRO = await model.getRO();
if (!getRO) {
if (getRO.length == 0) {
result = {
code: "422",
message: "data doesn't exists'",