From 13a16ddc9b898c061724f6291de6c7b3b134c17b Mon Sep 17 00:00:00 2001 From: AlfrinP Date: Sat, 3 Aug 2024 02:41:01 +0530 Subject: [PATCH] fix: fixed the profile url f string formate --- models/queries.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/queries.py b/models/queries.py index 93c17bd..a2026b5 100644 --- a/models/queries.py +++ b/models/queries.py @@ -37,7 +37,7 @@ def fetch_queries(muid): data = { "muid": f"{user_data[0][1]}", "name": f"{user_data[0][2]}", - "profile_pic": f"{decouple_config("BASE_URL")/{user_data[0][0]}.png}", + "profile_pic": f"{decouple_config('BASE_URL')}/{user_data[0][0]}.png", "karma": str(user_data[0][4]), "github_username": user_data[0][6], "org_code": list(set([row[7] for row in user_data if row[7]])),