IO-1831 Skip PBS vehicle search with no vin

This commit is contained in:
Patrick Fic
2022-04-25 14:54:36 -07:00
parent db0ade9791
commit 6d01199185

View File

@@ -198,6 +198,8 @@ async function QueryJobData(socket, jobid) {
async function QueryVehicleFromDms(socket) {
try {
if (!socket.JobData.v_vin) return null;
const { data: VehicleGetResponse, request } = await axios.post(
PBS_ENDPOINTS.VehicleGet,
{