aboutsummaryrefslogtreecommitdiff
path: root/api/user
diff options
context:
space:
mode:
authorlonkaars <l.leblansch@gmail.com>2021-03-19 19:19:11 +0100
committerlonkaars <l.leblansch@gmail.com>2021-03-19 19:19:11 +0100
commit4fdf1c47e2a38af3a3fbcd42a52833de3ec5d2cf (patch)
treeffcaa1b8e8d170996fe9ca3d37deba07b4a94920 /api/user
parent2f22a0f87dcf8c00ffedc57a69838e13519abefc (diff)
parentb2ac9175084e1a67bee95dcea324dfdbb50fc8d2 (diff)
Merge branch 'master' of github.com:lonkaars/po-4-op-een-rij
Diffstat (limited to 'api/user')
-rw-r--r--api/user/info.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/api/user/info.py b/api/user/info.py
index a9594aa..9a48f4d 100644
--- a/api/user/info.py
+++ b/api/user/info.py
@@ -29,7 +29,6 @@ def format_user(user_id, viewer = ''):
"user_id",
"country",
"registered",
- "avatar",
"status",
]) + " from users where user_id = ?", [user_id]).fetchone()
formatted_user = {
@@ -37,8 +36,7 @@ def format_user(user_id, viewer = ''):
"id": user[1],
"country": user[2],
"registered": user[3],
- "avatar": user[4],
- "status": user[5],
+ "status": user[4],
"friends": count_friends(user_id),
"rating": get_rating(user_id),
}