fix mistake

This commit is contained in:
kandrusyak
2023-08-08 23:00:40 +03:00
parent e3ba590f07
commit a31d3bdc6e

View File

@@ -19,7 +19,7 @@ class MedicalCardService(BaseService[models.MedicalCard, MedicalCardCreateIn, An
def __init__(self, db_session: Session): def __init__(self, db_session: Session):
super(MedicalCardService, self).__init__(models.MedicalCard, db_session) super(MedicalCardService, self).__init__(models.MedicalCard, db_session)
LOCAL_PERSONAL_INFO_URL = 'http://localhost:8001' LOCAL_PERSONAL_INFO_URL = 'http://localhost:8001'
self.PERSONAL_INFO_URL = os.environ.get('ASTRA-PESONAL-INFORMATION') or LOCAL_PERSONAL_INFO_URL self.PERSONAL_INFO_URL = os.environ.get('ASTRA-PERSONAL-INFORMATION') or LOCAL_PERSONAL_INFO_URL
def get_persons(self, searchstring: str) -> List[PersonOut]: def get_persons(self, searchstring: str) -> List[PersonOut]:
try: try: