Skip to content

Commit

Permalink
fix(upload): replace object.values usage
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSharpieOne authored Apr 18, 2018
1 parent 03b9c2c commit 8967629
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/upload-core/upload.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const defaultOptions = {
const signature = [
...attributes,
options.endpoint,
...Object.values(options.metadata || {}),
...Object.keys(options.metadata || {}).map(key => options.metadata[key]),
].join('');

const print = Math.abs(hashCode(signature));
Expand Down

0 comments on commit 8967629

Please sign in to comment.