diff --git a/packages/upload-core/upload.js b/packages/upload-core/upload.js index 3d7790209..c43075dae 100644 --- a/packages/upload-core/upload.js +++ b/packages/upload-core/upload.js @@ -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));