fix(09): resolve export data quality and integrate UI
This commit is contained in:
@@ -50,7 +50,7 @@ export function useExport(): UseExportReturn {
|
||||
|
||||
try {
|
||||
const response = await axiosInstance.get(
|
||||
`/admin/db/export?format=${format}&type=inventory`,
|
||||
`/admin/reports/export?format=${format}&type=inventory`,
|
||||
{
|
||||
responseType: "blob"
|
||||
}
|
||||
@@ -83,7 +83,7 @@ export function useExport(): UseExportReturn {
|
||||
|
||||
try {
|
||||
const response = await axiosInstance.get(
|
||||
`/admin/db/export?format=${format}&type=audit`,
|
||||
`/admin/reports/export?format=${format}&type=audit`,
|
||||
{
|
||||
responseType: "blob"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user