From ddde2c03564ad35f33d0573c87de41d1af2bf116 Mon Sep 17 00:00:00 2001 From: Weather Date: Fri, 1 May 2026 23:17:17 -0400 Subject: [PATCH] fix: await await await await await await await await await --- src/api/endpoints.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/endpoints.py b/src/api/endpoints.py index 96b2975..9037866 100644 --- a/src/api/endpoints.py +++ b/src/api/endpoints.py @@ -56,7 +56,7 @@ async def slack_events(request: Request) -> JSONResponse: JSONResponse: A JSON response indicating the result of the event handling. """ - return JSONResponse(slack.process_slack_events(request)) + return JSONResponse(await slack.process_slack_events(request)) @router.post("/slack/message_actions") @@ -71,7 +71,7 @@ async def message_actions(payload: str = Form(...)) -> JSONResponse: JSONResponse: A JSON response indicating the result of the action. """ - response_dict, status_code = slack.process_slack_message_actions(payload) + response_dict, status_code = await slack.process_slack_message_actions(payload) return JSONResponse(response_dict, status_code=status_code)