Skip to content

Commit

Permalink
Fixed missing return xhr value
Browse files Browse the repository at this point in the history
According to this DevExpress/DevExtreme.AspNet.Data#311 (comment) you should return xhr value to resolve/reject promise
  • Loading branch information
Bykiev authored and AlekseyMartynov committed Aug 4, 2020
1 parent 832efc4 commit afb593f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ng-http-client-helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ export function sendRequestFactory(httpClient: HttpClient) {
getResponseHeader,
responseText: makeResponseText()
});

return xhrSurrogate;
}

function getAcceptHeader(options) {
Expand Down

0 comments on commit afb593f

Please sign in to comment.