Skip to content

Commit f62e4a5

Browse files
Update components/convertapi/actions/convert-web-url/convert-web-url.mjs
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent 74f4664 commit f62e4a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/convertapi/actions/convert-web-url/convert-web-url.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ export default {
428428
formatTo: this.formatTo,
429429
data,
430430
headers: data.getHeaders(),
431-
timeout: 2000 * this.timeout,
431+
timeout: this.timeout ? 2000 * Number(this.timeout) : undefined,
432432
});
433433

434434
await saveFile(Files);

0 commit comments

Comments
 (0)