Skip to content

Commit

Permalink
fixed black
Browse files Browse the repository at this point in the history
  • Loading branch information
krishnaglodha committed Nov 19, 2024
1 parent 9a79f93 commit 005a75e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/geoserverx/_sync/gsx.py
Original file line number Diff line number Diff line change
Expand Up @@ -456,9 +456,7 @@ def get_all_geofence_rules(self) -> Union[RulesResponse, GSResponse]:
if isinstance(module_check, GSResponse):
return module_check
# Make the HTTP request to fetch geofence rules
response = Client.get(
"geofence/rules/", headers={"Accept": "application/json"}
)
response = Client.get("geofence/rules/", headers={"Accept": "application/json"})
if response.status_code == 200:
return RulesResponse.model_validate(response.json())
else:
Expand Down

0 comments on commit 005a75e

Please sign in to comment.