Skip to content

Commit

Permalink
fix(api-core): attempts count not increasing
Browse files Browse the repository at this point in the history
  • Loading branch information
Christie Baker authored and Christie Baker committed May 31, 2018
1 parent 470b6af commit 2e414a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/api-core/src/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ export default class AvApi {
// make request to http
request(config, afterResponse) {
if (config.polling) {
config.attempt = config.attempt || -1;
config.attempt = config.attempt || 0;
config.attempt += 1;
}

Expand Down

0 comments on commit 2e414a3

Please sign in to comment.