forked from mirror/pixelfed
Add missing reject
argument
This commit is contained in:
parent
7d80ac3c93
commit
e318d526c7
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue