Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/api/endpoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand All @@ -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)


Expand Down
Loading