Fix get_message so that it isn't just an error

This commit is contained in:
goose121 2019-04-17 23:35:24 -06:00 committed by GitHub
parent de5dfd7a17
commit dfe178aefe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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()