Create csv download endpoint
This commit is contained in:
parent
edd2054763
commit
35aa9cbe70
4 changed files with 153 additions and 5 deletions
|
@ -4,6 +4,10 @@ const PlantRepository = {
|
|||
|
||||
getFilteredPlants(filters) {
|
||||
return Repository.get(`/plants/`, { params: filters });
|
||||
},
|
||||
|
||||
getPlantsCSV(filters) {
|
||||
return Repository.get('/downloadcsv/', { params: filters })
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue