Add missing space between "PNG" and "GIF" in error message
This commit is contained in:
parent
1d6ed17ac7
commit
13c1b207f4
|
@ -62,7 +62,7 @@ export async function autoScaleForAvatar<T extends { contentType: string; blob:
|
|||
attachment.contentType !== IMAGE_JPEG
|
||||
) {
|
||||
// nothing to do
|
||||
throw new Error('Cannot autoScaleForAvatar another file than PNG,GIF or JPEG.');
|
||||
throw new Error('Cannot autoScaleForAvatar another file than PNG, GIF or JPEG.');
|
||||
}
|
||||
|
||||
window.log.info('autoscale for avatar', maxMeasurements);
|
||||
|
|
Loading…
Reference in New Issue