Skip to content
This repository was archived by the owner on Sep 3, 2025. It is now read-only.
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
9 changes: 8 additions & 1 deletion src/dispatch/plugins/dispatch_slack/case/messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,13 @@ def create_action_buttons_message(
project_id=project_id,
channel_id=channel_id,
).json()
mfa_button_metadata = SubjectMetadata(
type=CaseSubjects.case,
organization_slug=organization_slug,
id=case.id,
project_id=project_id,
channel_id=channel_id,
).json()

# we create the response plan and the snooze buttons
elements = []
Expand All @@ -280,7 +287,7 @@ def create_action_buttons_message(
Button(
text="👤 User MFA Challenge",
action_id=CaseNotificationActions.user_mfa,
value=button_metadata,
value=mfa_button_metadata,
),
]
)
Expand Down
Loading