pass existing data to info parsers

Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
Robin Appelman 2018-09-03 18:30:42 +02:00
parent 6372ae3a98
commit 91066954a8
No known key found for this signature in database
GPG Key ID: 42B69D8A64526EFB
1 changed files with 1 additions and 1 deletions

View File

@ -390,7 +390,7 @@
// extend the parsed data using the custom parsers
_.each(this._fileInfoParsers, function(parserFunction) {
_.extend(data, parserFunction(response) || {});
_.extend(data, parserFunction(response, data) || {});
});
return new FileInfo(data);