Closed latentflip closed 10 years ago
I'm fairly sure: https://github.com/AmpersandJS/ampersand-sync/blob/master/ampersand-sync.js#L105 is causing an issue.
There are times when a successful request doesn't return a body (e.g. a delete might 204 with no content), and the body && in the line above I'm assuming is causing the success function not to be called, even though it really should be.
body &&
You fixed this. Yay for you!
I'm fairly sure: https://github.com/AmpersandJS/ampersand-sync/blob/master/ampersand-sync.js#L105 is causing an issue.
There are times when a successful request doesn't return a body (e.g. a delete might 204 with no content), and the
body &&
in the line above I'm assuming is causing the success function not to be called, even though it really should be.