diff options
| author | Andrew <saintruler@gmail.com> | 2020-02-17 07:21:45 +0400 |
|---|---|---|
| committer | Andrew <saintruler@gmail.com> | 2020-02-17 07:21:45 +0400 |
| commit | 88113dc7d45dbdff76a8bb03b1d1cf0377949d4d (patch) | |
| tree | 8fc596bf9c99c4ad5ef3ebeba3d31dd23ddbef7d /backend_api.py | |
| parent | a73cea507eee99a073843a800c42de18b5f8d349 (diff) | |
added something
Diffstat (limited to 'backend_api.py')
| -rw-r--r-- | backend_api.py | 5 |
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/") |