From 38dd7966834aca8b996a486598c5af35968be29e Mon Sep 17 00:00:00 2001 From: Miwory Date: Wed, 15 Apr 2026 16:47:18 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A4=D0=B8=D0=BA=D1=81=20=D1=80=D0=B0=D1=81?= =?UTF-8?q?=D1=88=D0=B8=D1=80=D0=B5=D0=BD=D0=B8=D1=8F=20=D1=84=D0=B0=D0=B9?= =?UTF-8?q?=D0=BB=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pyproject.toml | 2 +- src/apps/users/v1/router.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index c1dbbe1..44a4c1c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "HospitalAssistantBackend" -version = "1.5.7" +version = "1.5.8" description = "Backend for Hospital Assistant" readme = "README.md" requires-python = ">=3.13,<3.14" diff --git a/src/apps/users/v1/router.py b/src/apps/users/v1/router.py index c0ec6c2..c068a16 100644 --- a/src/apps/users/v1/router.py +++ b/src/apps/users/v1/router.py @@ -125,7 +125,7 @@ async def get_vaccs_report_download( if file is None: 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 = xml_data.decode('utf-8').strip() xml_model = parser.from_string(xml_data, ClinicalDocument)