Skip to content

Commit acbab01

Browse files
authored
PDFx: int -> float (#5437)
1 parent ddee520 commit acbab01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/pdfx/api/_lib/request.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export function parsePdfOptions(query: QueryParams): PDFOptions {
3636
// }
3737

3838
if (query.scale !== undefined) {
39-
options.scale = Number.parseInt(query.scale);
39+
options.scale = Number.parseFloat(query.scale);
4040
}
4141

4242
if (query.displayHeaderFooter !== undefined) {

0 commit comments

Comments
 (0)