Vehicle drop down and Gas Station fixes
This commit is contained in:
@@ -67,7 +67,8 @@ export const vehiclesApi = {
|
||||
const formData = new FormData();
|
||||
formData.append('file', file);
|
||||
const response = await apiClient.post(`/vehicles/${vehicleId}/image`, formData, {
|
||||
headers: { 'Content-Type': 'multipart/form-data' }
|
||||
headers: { 'Content-Type': 'multipart/form-data' },
|
||||
timeout: 60000 // 60 seconds for file uploads
|
||||
});
|
||||
return response.data;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user