Skip to content

Commit

Permalink
fix GS rest call
Browse files Browse the repository at this point in the history
  • Loading branch information
petrus7 committed Jun 3, 2020
1 parent 71ec8a7 commit 33db14f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/geoserver/style.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,5 +116,5 @@ def sld_body(self):

def update_body(self, body):
headers = {"Content-Type": self.content_type}
self.catalog.http.request(
self.body_href, "PUT", body, headers)
self.catalog.http_request(
self.body_href, body, "PUT", headers)

0 comments on commit 33db14f

Please sign in to comment.