Restart input stream on retried request
This commit is contained in:
parent
328117cecf
commit
273e1ccb15
2 changed files with 5 additions and 5 deletions
|
@ -146,7 +146,7 @@ export async function uploadFile({
|
|||
});
|
||||
} else {
|
||||
await server.putEncryptedAttachment(
|
||||
createReadStream(absoluteCiphertextPath),
|
||||
() => createReadStream(absoluteCiphertextPath),
|
||||
uploadForm
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue