Restart input stream on retried request
This commit is contained in:
@@ -146,7 +146,7 @@ export async function uploadFile({
|
||||
});
|
||||
} else {
|
||||
await server.putEncryptedAttachment(
|
||||
createReadStream(absoluteCiphertextPath),
|
||||
() => createReadStream(absoluteCiphertextPath),
|
||||
uploadForm
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user