Skip to content

Commit c38e130

Browse files
committed
Refactor get_balance method in Users model to return the user's balance model instance
1 parent ccaab3f commit c38e130

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Models/users.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def __repr__(self):
4747

4848
def get_balance(self):
4949
"""
50-
Get the user's balance, creating one if it doesn't exist.
50+
Get the user's balance model instance, creating one if it doesn't exist.
5151
5252
Returns:
5353
Balance: The user's balance model instance.

0 commit comments

Comments
 (0)