Skip to content

Commit 8ffdfb0

Browse files
Update openfga_sdk/rest.py
Make the bot happy Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent a989bdd commit 8ffdfb0

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

openfga_sdk/rest.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,8 +279,7 @@ async def handle_response_exception(
279279
return
280280

281281
if isinstance(response, aiohttp.ClientResponse) and not hasattr(response, "data"):
282-
response.data = await response.read()
283-
282+
response.data = await response.read()
284283
match response.status:
285284
case 400:
286285
raise ValidationException(http_resp=response)

0 commit comments

Comments
 (0)