@micromerce/media-fileuploader 1.0.2242 → 1.0.2245

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cjs/index.js CHANGED
@@ -15352,7 +15352,7 @@ const FileUploader = ({ ...props }) => {
15352
15352
  if (language)
15353
15353
  request.setHeader('accept-language', language);
15354
15354
  if (authorizationHeader) {
15355
- const authorization = authorizationHeader(request.getURL(), request.getMethod());
15355
+ const authorization = await authorizationHeader(request.getURL(), request.getMethod());
15356
15356
  request.setHeader('Authorization', authorization);
15357
15357
  if (headers) {
15358
15358
  Object.entries(headers).forEach(([key, value]) => {