mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 06:21:27 +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,
|
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);
|
||||||
|
|
Loading…
Reference in a new issue