fix detail
This commit is contained in:
@@ -36,7 +36,7 @@ class MedicalCardService(BaseService[models.MedicalCard, MedicalCardCreateIn, An
|
||||
|
||||
def get_person(self, id: UUID4) -> PersonOut:
|
||||
try:
|
||||
response = httpx.get(f'{self.PERSONAL_INFO_URL}/{id}')
|
||||
response = httpx.get(f'{self.PERSONAL_INFO_URL}/persons/{id}')
|
||||
response.raise_for_status()
|
||||
except httpx.RequestError as exc:
|
||||
print(f"Ошибка вызова {exc.request.url!r}.")
|
||||
|
||||
Reference in New Issue
Block a user