|
@@ -195,6 +195,8 @@ var Redownload = function() {
|
|
|
offenders: offenders
|
|
|
};
|
|
|
|
|
|
+ cleanResults(results);
|
|
|
+
|
|
|
deferred.resolve(data);
|
|
|
}
|
|
|
});
|
|
@@ -1010,6 +1012,13 @@ var Redownload = function() {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ // Clean all the pollution this module added to the results
|
|
|
+ function cleanResults(requests) {
|
|
|
+ requests.forEach(function(req) {
|
|
|
+ delete req.weightCheck;
|
|
|
+ });
|
|
|
+ }
|
|
|
+
|
|
|
return {
|
|
|
recheckAllFiles: recheckAllFiles,
|
|
|
listRequestWeight: listRequestWeight,
|