Skip to content

Commit

Permalink
fix: strictly pass _exceptionInterceptor
Browse files Browse the repository at this point in the history
  • Loading branch information
yaroslav-fedyshyn-nordwhale committed Jun 26, 2020
1 parent 742bde5 commit 11843a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/imports/facebookVerifier.js
Expand Up @@ -34,10 +34,10 @@ class FacebookVerifier {
}

_configureResponses() {
const { http, _transformResponse } = this
const { http, _transformResponse, _exceptionInterceptor } = this
const { response } = http.interceptors

response.use(_transformResponse, exception => this._exceptionInterceptor(exception))
response.use(_transformResponse, _exceptionInterceptor)
}

_transformResponse(response) {
Expand Down

0 comments on commit 11843a6

Please sign in to comment.