From 379bd75424d3e1ee71ec4deb35c64fa9e5391861 Mon Sep 17 00:00:00 2001 From: Luna Date: Mon, 18 Mar 2019 04:57:09 -0300 Subject: [PATCH] webhooks: fix typo on get_webhook's sql --- litecord/blueprints/webhooks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litecord/blueprints/webhooks.py b/litecord/blueprints/webhooks.py index 9db64fa..dc3eb40 100644 --- a/litecord/blueprints/webhooks.py +++ b/litecord/blueprints/webhooks.py @@ -49,7 +49,7 @@ async def get_webhook(webhook_id: int, *, secure: bool=True) -> Optional[Dict[str, Any]]: """Get a webhook data""" row = await app.db.fetchrow(""" - SELECT id::text, guild_id::text, channel_id::text, creator_id + SELECT id::text, guild_id::text, channel_id::text, creator_id, name, avatar, token FROM webhooks WHERE id = $1