mirror of
https://github.com/silkimen/cordova-plugin-advanced-http.git
synced 2026-01-31 00:00:03 +08:00
chore: review feedback, response object
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user