Skip to content
This repository has been archived by the owner on Sep 14, 2022. It is now read-only.

problem with file upload on M2 #206

Closed
marcingasior opened this issue Apr 15, 2015 · 1 comment
Closed

problem with file upload on M2 #206

marcingasior opened this issue Apr 15, 2015 · 1 comment

Comments

@marcingasior
Copy link

Hi Guys,

I found issue trying to upload file with latest code base https://github.com/swagger-api/swagger-node-express/blob/master/swagger-ui/swagger-ui.js on line 2057 you try to call window.authorization.apply() which is broken.

First of all you always set window.authorization on line 212, and then on 2057 you call apply on an object.

So either you need to call window.authorization.add.apply on 2057 or use some condition to add authorization to window.

Let me know, if you need more help.

Regards,
Marcin

@fehguy
Copy link
Contributor

fehguy commented Jun 3, 2015

This is handled in #209

@fehguy fehguy closed this as completed Jun 3, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants