diff --git a/controllers/ListenController.js b/controllers/ListenController.js index 22eb3c4..7e364a7 100644 --- a/controllers/ListenController.js +++ b/controllers/ListenController.js @@ -563,7 +563,7 @@ class ListenController { const data = req.body const now = moment().unix() - const vhc_id = (await VhcModels.getVhcByDeviceId(data.imei))?.[0]?.vid + const vhc_id = (await VhcModels.getVhcByDeviceId(data.imei.padStart(16, "0")))?.[0]?.vid console.log("vhc_id", vhc_id) if (!vhc_id) {