Make createFile send the error on rejection

This commit is contained in:
Lee 2022-11-17 06:47:55 +00:00
parent ce5ed88418
commit 65ded04e73
No known key found for this signature in database
GPG Key ID: 6EA25896ECCB3121

View File

@ -114,7 +114,7 @@ export async function createFile(
resolve(`${fileId}.${extention}`);
})
.catch((err) => {
reject();
reject(err);
});
});
}