Skip to content

Commit

Permalink
Update pygeoapi/provider/esri.py
Browse files Browse the repository at this point in the history
  • Loading branch information
webb-ben authored Oct 1, 2024
1 parent c11195e commit fa53fa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pygeoapi/provider/esri.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ def login(self):
}

LOGGER.debug('Logging in')
with self.session.post((GENERATE_TOKEN_URL if self.token_url is None else self.token_url), data=params) as r:
with self.session.post(self.token_url, data=params) as r:
self.token = r.json().get('token')
# https://enterprise.arcgis.com/en/server/latest/administer/windows/about-arcgis-tokens.htm
self.session.headers.update({
Expand Down

0 comments on commit fa53fa9

Please sign in to comment.