Skip to content

Commit aea9b04

Browse files
committed
this guy needed to be async
1 parent e29f16d commit aea9b04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pcweb/pages/landing/views/hero.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ async def redirect_to_ai_builder(self, form_data: dict):
1616
if prompt := form_data.get("prompt"):
1717
random_uuid = uuid.uuid4()
1818

19-
with httpx.AsyncClient() as client:
19+
async with httpx.AsyncClient() as client:
2020
await client.post(
2121
RX_BUILD_BACKEND.rstrip("/") + "/prompt",
2222
json={

0 commit comments

Comments
 (0)