summaryrefslogtreecommitdiff
path: root/backend_api.py
diff options
context:
space:
mode:
Diffstat (limited to 'backend_api.py')
-rw-r--r--backend_api.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/backend_api.py b/backend_api.py
index 951c570..491560f 100644
--- a/backend_api.py
+++ b/backend_api.py
@@ -55,6 +55,11 @@ def register_user(tg_id: int, username: str, fullname: str) -> Tuple[int, Dict]:
})
+def get_profiles():
+ logger.debug(f"Trying to retrieve all profiles")
+ return get_request(f"{BACKEND_URL}/profiles/")
+
+
def get_tasks():
logger.debug(f"Trying to retrieve all tasks")
return get_request(f"{BACKEND_URL}/tasks/")