Фикс расширения файла
All checks were successful
Build And Push / publish (push) Successful in 2m38s

This commit is contained in:
2026-04-15 16:47:18 +03:00
parent bb77d58660
commit 38dd796683
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
[project] [project]
name = "HospitalAssistantBackend" name = "HospitalAssistantBackend"
version = "1.5.7" version = "1.5.8"
description = "Backend for Hospital Assistant" description = "Backend for Hospital Assistant"
readme = "README.md" readme = "README.md"
requires-python = ">=3.13,<3.14" requires-python = ">=3.13,<3.14"

View File

@ -125,7 +125,7 @@ async def get_vaccs_report_download(
if file is None: if file is None:
raise e.BadRequestException raise e.BadRequestException
filename = f'vaccs_report_{resultId or user.vita_id}.doc' filename = f'vaccs_report_{resultId or user.vita_id}.pdf'
xml_data = base64.b64decode(file.content) xml_data = base64.b64decode(file.content)
xml_data = xml_data.decode('utf-8').strip() xml_data = xml_data.decode('utf-8').strip()
xml_model = parser.from_string(xml_data, ClinicalDocument) xml_model = parser.from_string(xml_data, ClinicalDocument)