spelling: image
This commit is contained in:
parent
e812e80339
commit
7343952cd5
@ -37,7 +37,7 @@ export async function parseQrCode(input, normalise) {
|
|||||||
image = await jimp.read(image);
|
image = await jimp.read(image);
|
||||||
}
|
}
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
throw new OperationError(`Error normalising iamge. (${err})`);
|
throw new OperationError(`Error normalising image. (${err})`);
|
||||||
}
|
}
|
||||||
|
|
||||||
const qrData = jsQR(image.bitmap.data, image.getWidth(), image.getHeight());
|
const qrData = jsQR(image.bitmap.data, image.getWidth(), image.getHeight());
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user