diff --git a/resources/js/services/ApiService.ts b/resources/js/services/ApiService.ts index 2d6dac9..4197f83 100644 --- a/resources/js/services/ApiService.ts +++ b/resources/js/services/ApiService.ts @@ -145,7 +145,7 @@ export default class ApiService { * * @returns */ - public async convertFile(content: string, file: object, searchers: Array<{ key: string; type: string; value: string; }>) { + public async convertFile(content: string, file: {id: string, name: string}, searchers: Array<{ key: string; type: string; value: string; }>) { try { let response = await axios.post( this.apiRoutes.fileDownload,