diff --git a/litecord/blueprints/channels.py b/litecord/blueprints/channels.py index bcaeeb2..98ec291 100644 --- a/litecord/blueprints/channels.py +++ b/litecord/blueprints/channels.py @@ -809,11 +809,7 @@ async def suppress_embeds(channel_id: int, message_id: int): except KeyError: pass - app.sched.spawn( - process_url_embed( - app.config, app.storage, app.dispatcher, app.session, message - ) - ) + app.sched.spawn(process_url_embed(message)) return "", 204 diff --git a/litecord/blueprints/users.py b/litecord/blueprints/users.py index e45a1a3..763f18e 100644 --- a/litecord/blueprints/users.py +++ b/litecord/blueprints/users.py @@ -276,7 +276,7 @@ async def patch_me(): user.pop("password_hash") - _, private_user = await mass_user_update(user_id, app) + _, private_user = await mass_user_update(user_id) return jsonify(private_user)