update
This commit is contained in:
@@ -93,4 +93,11 @@ export const vehiclesApi = {
|
||||
}
|
||||
return response.data.data;
|
||||
},
|
||||
|
||||
async exportAlerts(): Promise<Blob> {
|
||||
const response = await api.get('/api/vehicles/alerts/export', {
|
||||
responseType: 'blob',
|
||||
});
|
||||
return response.data as Blob;
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user