chore: review feedback, response object

This commit is contained in:
Tobias Becht
2022-02-01 16:44:08 +01:00
parent 08ec3203e9
commit 48445786b6

View File

@@ -344,7 +344,7 @@ module.exports = function init(global, jsUtil, cookieHandler, messages, base64,
function injectFileEntryHandler(cb) {
return function (response) {
var fileEntry = createFileEntry(response.file);
// optional: delete response.file;
response.file = fileEntry;
response.data = fileEntry;
cb(fileEntry, response);
}