Hi,
I'm using V3 branch since multiple months and it works well but i've discoved this small regression.
I'm unable to send empty files when using asyncReadFileFn hook.
Investigating, it seems to come from there:
|
if (data && data.size > 0) { |
From what i've seen convert to this fix it:
if (data && (data.size > 0 || this.fileObj.size === 0)) {
But i would like to have a feedback from you @drzraf before making an MR.
Hi,
I'm using V3 branch since multiple months and it works well but i've discoved this small regression.
I'm unable to send empty files when using
asyncReadFileFnhook.Investigating, it seems to come from there:
flow.js/src/FlowChunk.js
Line 341 in 5591263
From what i've seen convert to this fix it:
if (data && (data.size > 0 || this.fileObj.size === 0)) {But i would like to have a feedback from you @drzraf before making an MR.