Skip to content

Commit

Permalink
fix: [update v2.5]
Browse files Browse the repository at this point in the history
  • Loading branch information
Terrtia committed Nov 25, 2019
1 parent edcfb4f commit 886b88d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion update/v2.5/Update.py
Expand Up @@ -25,7 +25,7 @@
r_serv.zadd('ail:all_role', 4, 'user_no_api')
r_serv.zadd('ail:all_role', 5, 'read_only')

for user in r_serv.hkeys(user:all):
for user in r_serv.hkeys('user:all'):
r_serv.sadd('user_role:user', user)
r_serv.sadd('user_role:user_no_api', user)
r_serv.sadd('user_role:read_only', user)
Expand Down

0 comments on commit 886b88d

Please sign in to comment.