mirror of https://gitlab.com/litecord/litecord.git
fix some calls not needing app
This commit is contained in:
parent
f6f50a1cff
commit
2bc7bb3924
|
|
@ -809,11 +809,7 @@ async def suppress_embeds(channel_id: int, message_id: int):
|
||||||
except KeyError:
|
except KeyError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
app.sched.spawn(
|
app.sched.spawn(process_url_embed(message))
|
||||||
process_url_embed(
|
|
||||||
app.config, app.storage, app.dispatcher, app.session, message
|
|
||||||
)
|
|
||||||
)
|
|
||||||
|
|
||||||
return "", 204
|
return "", 204
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -276,7 +276,7 @@ async def patch_me():
|
||||||
|
|
||||||
user.pop("password_hash")
|
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)
|
return jsonify(private_user)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue