Browse Source

Imgurs docs are just wrong in one part apparently but now I'm rate limited anyway so this is a shot in the dark

Kirk Trombley 3 years ago
parent
commit
5fdd0530d5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/groupme_driver.py

+ 1 - 1
drivers/groupme_driver.py

@@ -116,7 +116,7 @@ class GroupMeBot(rollbot.Rollbot[GroupMeMessage]):
 
     async def upload_image_imgur(self, data: bytes) -> str:
         async with self.context.request.post(
-            "https://api.imgur.com/3/image",
+            "https://api.imgur.com/3/upload",
             headers={
                 "Authorization": f"Client-ID {imgur_token}",
             },