Skip to content

Commit

Permalink
fix indent error
Browse files Browse the repository at this point in the history
  • Loading branch information
bishoy-at-pieces committed Sep 1, 2024
1 parent 8dbc9d9 commit c4ffa3b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/pieces/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ def get_health(cls):
bool: True if the health status is 'ok', False otherwise.
"""
try:
return self.well_known_api.get_well_known_health_with_http_info().status_code == 200
except:
pass
return False
return WellKnownApi(cls.api_client).get_well_known_health_with_http_info().status_code == 200
except:
pass
return False

0 comments on commit c4ffa3b

Please sign in to comment.