Skip to content

Commit

Permalink
more fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Ketan Umare <[email protected]>
  • Loading branch information
kumare3 committed Jan 16, 2025
1 parent 8230a88 commit 4feef3f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions flytekit/extras/webhook/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,7 @@ async def _make_http_request(
response = await session.get(url, headers=headers, params=data)
else:
response = await session.post(url, json=data, headers=headers)
print(f"Response status: {response.status}")
text = await response.text()
return response.status, text
return response.status, await response.text()

@staticmethod
def _build_response(
Expand Down

0 comments on commit 4feef3f

Please sign in to comment.