Skip to content

Commit

Permalink
Rename function
Browse files Browse the repository at this point in the history
  • Loading branch information
Lekuruu committed Nov 14, 2023
1 parent eb9720a commit 612d8e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cache/users.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import pickle
import app

def set_user_attributes(user: DBUser) -> None:
def set_user(user: DBUser) -> None:
app.session.redis.set(
f'bancho:user:{user.id}',
pickle.dumps(user),
Expand Down

0 comments on commit 612d8e8

Please sign in to comment.