From ed7730c6338a781ed8e5275682c2b7a8a4cddd3b Mon Sep 17 00:00:00 2001 From: Jeremy Zhang Date: Mon, 8 May 2017 21:48:32 -0700 Subject: [PATCH] Fix typo --- webapp/titanembeds/oauth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/titanembeds/oauth.py b/webapp/titanembeds/oauth.py index 569e2ed..f9ca6cb 100644 --- a/webapp/titanembeds/oauth.py +++ b/webapp/titanembeds/oauth.py @@ -45,7 +45,7 @@ def user_has_permission(permission, index): return bool((int(permission) >> index) & 1) def get_user_guilds(): - cache = get_keyvalproperty("OAUTH/USERGUILDS/"+make_cache_key()) + cache = get_keyvalproperty("OAUTH/USERGUILDS/"+make_user_cache_key()) if cache: return cache req = discordrest_from_user("/users/@me/guilds")