aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ionite34 <[email protected]>2022-12-01 19:54:24 +0800
committerGravatar ionite34 <[email protected]>2022-12-01 19:54:24 +0800
commit41d2628706a09893e7ee44faf84ae8d9275bab6c (patch)
tree020421b6be6c8011ce300f6f01b0ede07227ed1a
parentReorder imports (diff)
Fix send_job return type
-rw-r--r--bot/exts/utils/snekbox.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/utils/snekbox.py b/bot/exts/utils/snekbox.py
index 1d003fb9a..b8e6476f8 100644
--- a/bot/exts/utils/snekbox.py
+++ b/bot/exts/utils/snekbox.py
@@ -300,7 +300,7 @@ class Snekbox(Cog):
data = job.to_dict()
async with self.bot.http_session.post(url, json=data, raise_for_status=True) as resp:
- return await resp.json()
+ return EvalResult.from_dict(await resp.json())
@staticmethod
async def upload_output(output: str) -> Optional[str]: