Skip to content
This repository was archived by the owner on Sep 3, 2025. It is now read-only.

Commit 369d038

Browse files
mvilanovaCopilot
andauthored
Update src/dispatch/plugins/dispatch_slack/case/interactive.py
Co-authored-by: Copilot <[email protected]> Signed-off-by: Marc Vilanova <[email protected]>
1 parent 1891779 commit 369d038

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dispatch/plugins/dispatch_slack/case/interactive.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2004,7 +2004,7 @@ def edit_button_click(
20042004
"user"
20052005
]["id"]
20062006
except SlackApiError as e:
2007-
if e.response["error"] == SlackAPIErrorCode.USERS_NOT_FOUND:
2007+
if e.response.get("error") == SlackAPIErrorCode.USERS_NOT_FOUND:
20082008
log.warning(
20092009
f"Assignee {case.assignee.individual.email} not found in Slack workspace. "
20102010
"Using None for initial assignee selection."

0 commit comments

Comments
 (0)