Add missing reject argument

This commit is contained in:
Jonas Geiler 2024-10-21 09:44:49 +02:00 committed by GitHub
parent 7d80ac3c93
commit e318d526c7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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