Skip to content

Commit b4d6377

Browse files
committed
fix: correct variable name for image format in getImage method
1 parent 7d96fe5 commit b4d6377

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/controllers/images.controller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export class ImagesController {
8484

8585
transform = transform.png();
8686
if (fm) {
87-
transform = transform.toFormat(fm as any, {
87+
transform = transform.toFormat(format as any, {
8888
quality: q ? parseInt(q as string, 10) : 60
8989
});
9090
}

0 commit comments

Comments
 (0)