mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-12-24 14:07:03 +01:00
Quick fix for unauthenticated user guild key
This commit is contained in:
parent
035e0d9836
commit
513aa2280b
@ -165,7 +165,7 @@ def fetch():
|
||||
channel_id = request.args.get('channel_id')
|
||||
after_snowflake = request.args.get('after', None, type=int)
|
||||
if user_unauthenticated():
|
||||
key = session['user_keys'][channel_id]
|
||||
key = session['user_keys'][guild_id]
|
||||
else:
|
||||
key = None
|
||||
status = update_user_status(guild_id, session['username'], key)
|
||||
|
Loading…
Reference in New Issue
Block a user