🎨 Reliable-id can be 2

This commit is contained in:
C-3PO 2018-07-05 20:27:58 +02:00
parent bdcb7faabe
commit 60fe546d31
Signed by: c3po
GPG key ID: 62993C4BB4D86F24
4 changed files with 19 additions and 4 deletions

View file

@ -57,7 +57,7 @@ export default function saveResponse(
//Return file reader
//TODO: need to automatically delete file once it is no longer used
//TODO: need to provide methods to seek through file
const stream = fs.createReadStream(tempFileName, { encoding: 'binary' });
const stream = fs.createReadStream(tempFileName, { encoding: 'binary' }); //TODO: we may need to remove encoding since mentioning encoding automatically switches to string format
return resolve(stream);
});
}