diff --git a/data_providers/vin01.js b/data_providers/vin01.js index b1069ce..54d9217 100644 --- a/data_providers/vin01.js +++ b/data_providers/vin01.js @@ -26,7 +26,7 @@ async function fetchWithTimeout(url, params, timeout) { class Vin01Provider { static async getVin(number, token) { let url = `${baseUrl}/getVin.php?key=${token}&gosNumber=${encodeURIComponent(number)}`; - let result = await fetchWithTimeout(url, null, 12000); + let result = await fetchWithTimeout(url, null, 14000); let json = await result.json(); if(json.success && json.code == 200) { return json.data.vin; @@ -44,7 +44,7 @@ class Vin01Provider { key: token, token: null }) - }, 15000); + }, 25000); console.log('Vin01 response for: ', type); return await result.json(); }