-
Notifications
You must be signed in to change notification settings - Fork 415
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DELETE service returning 204 breaks ioDocs #209
Comments
I see the same thing; the UI shows pink and does not show the 204 HTTP status code stdout log (with debug option on) shows
|
looks like we need to change 'public/javascripts/docs.js' lines: 160, 166, 273 from: |
I try it (result && result.signin), still not working. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
when using a rest API, which returns status 204 no content after a succesful DELETE statement. The javascript of ioDoc fails as it is trying to get result.signin while result itself is undefined.
the node library node-restful is one that gives us this behavior at the moment:
https://github.com/baugarten/node-restful
error in the frontend of ioDoc after calling one of the above delete statements:
I might take a deeper look into the code later this weekend and hopefully come up with some sort of a solution. not sure if i'm ready to fork and make a pull request but i'm definately going to try :)
The text was updated successfully, but these errors were encountered: