|
|
@ -616,7 +616,7 @@ def find_patients_by_id(telegram_id): |
|
|
|
records = sheet.get_all_records() # Получаем все строки таблицы |
|
|
|
records = sheet.get_all_records() # Получаем все строки таблицы |
|
|
|
patients = [] |
|
|
|
patients = [] |
|
|
|
for record in records: |
|
|
|
for record in records: |
|
|
|
if str(record["Telegram ID"]) == str(telegram_id) and str(record["Верификация"]) == "Пройдена": |
|
|
|
if str(record["Telegram ID"]) == str(telegram_id): |
|
|
|
patients.append(record) |
|
|
|
patients.append(record) |
|
|
|
return patients |
|
|
|
return patients |
|
|
|
|
|
|
|
|
|
|
|