Skip to content

Commit

Permalink
We use the case id for the route parameter in the Case Page (#4061)
Browse files Browse the repository at this point in the history
  • Loading branch information
wssheldon authored Nov 30, 2023
1 parent fd44973 commit bf65043
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dispatch/plugins/dispatch_slack/case/messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def create_case_message(case: Case, channel_id: str) -> list[Block]:
accessory=Button(
text="View",
action_id="button-link",
url=f"{DISPATCH_UI_URL}/{case.project.organization.slug}/cases/{case.name}",
url=f"{DISPATCH_UI_URL}/{case.project.organization.slug}/cases/{case.id}",
),
),
Section(text=f"*Description* \n {case.description}"),
Expand Down

0 comments on commit bf65043

Please sign in to comment.