IO-1831 Skip PBS vehicle search with no vin
This commit is contained in:
@@ -198,6 +198,8 @@ async function QueryJobData(socket, jobid) {
|
|||||||
|
|
||||||
async function QueryVehicleFromDms(socket) {
|
async function QueryVehicleFromDms(socket) {
|
||||||
try {
|
try {
|
||||||
|
if (!socket.JobData.v_vin) return null;
|
||||||
|
|
||||||
const { data: VehicleGetResponse, request } = await axios.post(
|
const { data: VehicleGetResponse, request } = await axios.post(
|
||||||
PBS_ENDPOINTS.VehicleGet,
|
PBS_ENDPOINTS.VehicleGet,
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user