Commit 51ae02f
Fixed problems with the alternative endpoint
The alternative endpoint is set optionally in the update method if an
endpoint is provided in the options. If the next call doesn't provide an
alternative endpoint, it should use the instance's configured endpoint.
Also: a call to the query method may use the make_post_request method.
We should make sure to not keep any previous alternative endpoint.
Note: this commit not only fix the current issues with the alternative
endpoints, it also implements a new functionality: the possibility to
override the configured endpoint when calling the query method.
(cherry picked from commit 82530b9)1 parent 0b7a141 commit 51ae02f
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
291 | 291 | | |
292 | 292 | | |
293 | 293 | | |
| 294 | + | |
294 | 295 | | |
295 | 296 | | |
296 | 297 | | |
| |||
317 | 318 | | |
318 | 319 | | |
319 | 320 | | |
320 | | - | |
| 321 | + | |
321 | 322 | | |
322 | 323 | | |
323 | 324 | | |
| |||
0 commit comments