Commit 8694907
fix(telegram): ensure proper bot API base (#557)
I _think_ that in the refactor in
05a8f0e
the behavior of the base API for Telegram became to use a `/` in between
`bot` and the supplied token.
Per https://core.telegram.org/bots/api#making-requests, the API base
should be:
`https://api.telegram.org/bot<token>/METHOD_NAME`
Note the lack of `/` between `bot` and `<token>`
---------
Co-authored-by: Douglas Reid <doug@steamship.com>1 parent c6c880d commit 8694907
2 files changed
Lines changed: 14 additions & 1 deletion
File tree
- src/steamship/agents/mixins/transports
- tests/steamship_tests/agents/transports
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
296 | 296 | | |
297 | 297 | | |
298 | 298 | | |
299 | | - | |
| 299 | + | |
300 | 300 | | |
301 | 301 | | |
302 | 302 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
8 | 10 | | |
9 | 11 | | |
10 | 12 | | |
| |||
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
16 | 29 | | |
17 | 30 | | |
18 | 31 | | |
| |||
0 commit comments