From ee76d20277b73aaaf4038d5dac69e03de7450fda Mon Sep 17 00:00:00 2001 From: Terrtia Date: Wed, 14 Jun 2023 14:53:07 +0200 Subject: [PATCH] fix: [user] fix get user token #163 --- bin/lib/Users.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/lib/Users.py b/bin/lib/Users.py index dc6a1368..a61830ef 100755 --- a/bin/lib/Users.py +++ b/bin/lib/Users.py @@ -81,7 +81,7 @@ def get_user_passwd_hash(user_id): return r_serv_db.hget('ail:users:all', user_id) def get_user_token(user_id): - return r_serv_db.hget(f'ail:users:metadata:{user_id}', 'token') + return r_serv_db.hget(f'ail:user:metadata:{user_id}', 'token') def get_token_user(token): return r_serv_db.hget('ail:users:tokens', token)