diff --git a/titanembeds/blueprints/api/api.py b/titanembeds/blueprints/api/api.py index d17b8fd..dd87d19 100644 --- a/titanembeds/blueprints/api/api.py +++ b/titanembeds/blueprints/api/api.py @@ -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)