mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-22 13:03:16 +00:00
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…
Reference in a new issue