Skip to content

Commit 95e174f

Browse files
author
codeEmpress1
committed
remove user-id from key
1 parent e72fec8 commit 95e174f

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

webapp/endpoints/publisher/listing.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@
2525

2626

2727
def get_snap_info_key(snap_name):
28-
user_id = flask.session.get("publisher", {}).get("identity_url", "")
29-
cache_key = f"snapcraft:dashboard:snap_info:{snap_name}:{user_id}"
28+
cache_key = f"snap_info:{snap_name}"
3029
return cache_key
3130

3231

0 commit comments

Comments
 (0)