Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
paulineribeyre committed Oct 10, 2024
1 parent 2e9dc4d commit ba6a600
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gen3authz/client/arborist/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,12 +301,12 @@ async def auth_mapping(self, username: str = "", jwt: str = ""):
if username:
data = {"username": username}
response = await self.post(
self._auth_url.rstrip("/") + "/mapping", json=data
self._auth_url.rstrip("/") + "/mapping",
json=data,
)
else:
response = await self.post(
self._auth_url.rstrip("/") + "/mapping",
json=data,
headers={"Authorization": f"bearer {jwt}"},
)
if not response.successful:
Expand Down

0 comments on commit ba6a600

Please sign in to comment.