Commit 30cbff30 authored by ThinhNC's avatar ThinhNC

fix: include custom fileName in create export API request body

parent f71735e9
Pipeline #53498 passed with stage
in 2 minutes and 12 seconds
...@@ -134,6 +134,7 @@ export class CrawlExportService { ...@@ -134,6 +134,7 @@ export class CrawlExportService {
try { try {
const response = await apiClient.post<ApiResponse<CrawlExport>>(`/crawl-jobs/${jobId}/exports`, { const response = await apiClient.post<ApiResponse<CrawlExport>>(`/crawl-jobs/${jobId}/exports`, {
exportType: dto.exportType, exportType: dto.exportType,
fileName: dto.fileName,
}); });
if (response.data?.data) { if (response.data?.data) {
const created = response.data.data; const created = response.data.data;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment