diff options
author | 2022-05-01 20:15:27 +0100 | |
---|---|---|
committer | 2022-05-02 16:53:06 +0100 | |
commit | 0edec23e6d3a46c848bc0fb73832e41663d99983 (patch) | |
tree | 16d339f71ebf42d834e6ef707865ec5138abd9cf /tests | |
parent | Merge pull request #2129 from python-discord/improve-thread-bump (diff) |
Don't decode empty content as json in thread bumper
Closes #2162 Closes BOT-343
self.bot.api_client.request can not be used to check if a thread id exists in the bumped thread list on site, as self.bot.api_client.request() always attempts to decode the response as json.
The thread bump viewset in site returns a 204 if the given thread exists with no content, so this does not work.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions