Browse Source

Solve typescript error.

master
Alex Puiu 2 years ago
parent
commit
4aa2a50a5f
  1. 2
      resources/js/services/ApiService.ts

2
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,

Loading…
Cancel
Save