From fcfe835afd4e0b19a8aa8da504c987fd04dff24b Mon Sep 17 00:00:00 2001 From: Ilya Belokobylsky Date: Tue, 10 Dec 2024 18:28:51 +0300 Subject: [PATCH] Update user_service.py --- app/user_service.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/user_service.py b/app/user_service.py index 8224f2f..5c0ac59 100644 --- a/app/user_service.py +++ b/app/user_service.py @@ -86,7 +86,7 @@ def get_user_by_id(user_id: str): def update_user(user_id: str, user_data: dict): - get_user_by_id(user_id) # verify that user exists + get_user_by_id(user_id) # check user exists if 'nickname' in user_data: existing = get_user_by_nickname(user_data['nickname']) @@ -349,4 +349,4 @@ def statistic_visits(courtyard_title: str = None, courtyard_address: str = None, **courtyard_params, "visited_from": visited_from, "visited_to": visited_to, - }) \ No newline at end of file + })