Add missing `reject` argument

pull/5333/head
Jonas Geiler 4 months ago committed by GitHub
parent 7d80ac3c93
commit e318d526c7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1831,7 +1831,7 @@ export default {
quality: 1,
});
} else {
blob = await new Promise(resolve => {
blob = await new Promise((resolve, reject) => {
canvas.toBlob(blob => {
if(blob) {
resolve(blob);

Loading…
Cancel
Save