Skip to content

Commit

Permalink
Merge branch 'dev-server' into production
Browse files Browse the repository at this point in the history
  • Loading branch information
shaheenhyderk committed Dec 24, 2023
2 parents 8425493 + 4816510 commit cf2af55
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions models/queries.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ def fetch_queries(muid):
query = """
SELECT
user.muid,
user.first_name,
user.last_name,
user.full_name,
user.profile_pic,
role.title AS role,
wallet.karma,
Expand All @@ -34,7 +33,7 @@ def fetch_queries(muid):
if user_data:
data = {
"muid": f"{user_data[0][0]}",
"name": f"{user_data[0][1]} {user_data[0][2]}" if user_data[0][2] else user_data[0][1],
"name": f"{user_data[0][1]}",
"profile_pic": user_data[0][3],
"karma": str(user_data[0][5]),
"github_username": user_data[0][7],
Expand Down

0 comments on commit cf2af55

Please sign in to comment.