mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-16 18:50:13 +00:00
Fix get_message so that it isn't just an error
This commit is contained in:
parent
de5dfd7a17
commit
dfe178aefe
1 changed files with 1 additions and 1 deletions
|
|
@ -221,7 +221,7 @@ class Handlers:
|
|||
raise web.HTTPBadRquest()
|
||||
|
||||
# Find the message in the DB
|
||||
message = await db.get_message(ctx.conn, mid)
|
||||
message = await db.get_message(request["conn"], mid)
|
||||
if not message:
|
||||
raise web.HTTPNotFound()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue