Skip to content

Commit

Permalink
[s3file] use correct _.each() iteratee argument syntax when list is a…
Browse files Browse the repository at this point in the history
…n object
  • Loading branch information
montmanu committed Mar 7, 2015
1 parent a9b262e commit de5a836
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fields/types/s3file/S3FileType.js
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ var validateHeaders = function(headers, callback) {
return callback(new Error('Unsupported Header option: headers must be an Object ' + JSON.stringify(headers)));
}

_.each(headers, function (key, value){
_.each(headers, function (value, key){
_headers.push({ name: key, value: value });
});

Expand Down

0 comments on commit de5a836

Please sign in to comment.