diff options
| author | 2021-08-30 21:44:48 +0100 | |
|---|---|---|
| committer | 2021-08-30 21:44:48 +0100 | |
| commit | 6a35307ada47a1c3091b23fb3a33dea78fe63c15 (patch) | |
| tree | e91397295fdad798546ad50537327f1c8f309f0d | |
| parent | Merge branch 'main' into ks123/goodbye-talentpool-channel (diff) | |
Update api endpoint name in talent pool review
| -rw-r--r-- | bot/exts/recruitment/talentpool/_review.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/recruitment/talentpool/_review.py b/bot/exts/recruitment/talentpool/_review.py index 1cc9c900c..3ffbf93f3 100644 --- a/bot/exts/recruitment/talentpool/_review.py +++ b/bot/exts/recruitment/talentpool/_review.py @@ -97,7 +97,7 @@ class Reviewer: if update_database: nomination = self._pool.cache.get(user_id) - await self.bot.api_client.patch(f"{self._pool.api_endpoint}/{nomination['id']}", json={"reviewed": True}) + await self.bot.api_client.patch(f"bot/nominations/{nomination['id']}", json={"reviewed": True}) async def make_review(self, user_id: int) -> typing.Tuple[str, Optional[Emoji]]: """Format a generic review of a user and return it with the reviewed emoji.""" |