Skip to content

Commit

Permalink
Update Geoserver.py
Browse files Browse the repository at this point in the history
Fixed wrong call to self.requests instead of self._requests
  • Loading branch information
iboates authored Aug 6, 2024
1 parent b7fb808 commit 3a7ca26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geo/Geoserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -2688,7 +2688,7 @@ def publish_featurestore_sqlview(
headers = {"content-type": "text/xml"}

# request
r = self.requests("post", url, data=layer_xml, headers=headers)
r = self._requests("post", url, data=layer_xml, headers=headers)

if r.status_code == 201:
return r.status_code
Expand Down

0 comments on commit 3a7ca26

Please sign in to comment.