Skip to content

Commit

Permalink
Merge pull request #235 from casz/patch-1
Browse files Browse the repository at this point in the history
fixes: #234 use correct XMLHttpRequest for GET req
  • Loading branch information
jdalrymple authored Nov 16, 2018
2 parents 2f697a5 + 4bd130d commit 0d241ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/infrastructure/XMLHttpRequester.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ function promisifyWithRetry<F extends Function>(fn: F): XhrInstancePromisified {
const promisifyWithRetryDelete = promisifyWithRetry(XHR.del);
const XMLHttpRequesterPromisifiedExtras = {
del: promisifyWithRetryDelete,
get: promisifyWithRetryDelete,
delete: promisifyWithRetry(XHR.del),
delete: promisifyWithRetryDelete,
get: promisifyWithRetry(XHR.get),
head: promisifyWithRetry(XHR.head),
patch: promisifyWithRetry(XHR.patch),
post: promisifyWithRetry(XHR.post),
Expand Down

0 comments on commit 0d241ce

Please sign in to comment.