Skip to content

Commit 326494c

Browse files
committed
Merge branch 'feat/crop-fix2' into 'master'
Fix compilation of changeCharacterAvatar.ts See merge request fmasa/wfrp-master!221
2 parents 86b4ad1 + 6bbc822 commit 326494c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

functions/src/functions/changeCharacterAvatar.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export const changeCharacterAvatar = functions.https.onCall(async (data, context
8181
};
8282
});
8383

84-
const cropToRectangle = async (image: sharp.Sharp): Promise<Sharp> => {
84+
const cropToRectangle = async (image: sharp.Sharp): Promise<sharp.Sharp> => {
8585
const metadata = await image.metadata();
8686
const width = metadata.width;
8787
const height = metadata.height;

0 commit comments

Comments
 (0)