Skip to content

Commit

Permalink
Remove defunct c query param, now that horizon sends cache-control he…
Browse files Browse the repository at this point in the history
…aders (#652)
  • Loading branch information
Paul Bellamy authored May 18, 2021
1 parent eac8519 commit d278ea3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/call_builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -332,8 +332,6 @@ export class CallBuilder<
url = url.protocol(this.url.protocol());
}

// Temp fix for: https://github.com/stellar/js-stellar-sdk/issues/15
url.setQuery("c", String(Math.random()));
return HorizonAxiosClient.get(url.toString())
.then((response) => response.data)
.catch(this._handleNetworkError);
Expand Down

0 comments on commit d278ea3

Please sign in to comment.