Skip to content

Commit a68765b

Browse files
committed
omit pr/issue description
1 parent 6a18af0 commit a68765b

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

lib/slack_message.ml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ let pp_github_team (team : github_team) = gh_name_of_string team.slug
4848

4949
let populate_pull_request repository (pull_request : pull_request) =
5050
let ({
51-
body;
5251
title;
5352
number;
5453
html_url;
@@ -92,11 +91,10 @@ let populate_pull_request repository (pull_request : pull_request) =
9291
title = Some (get_title ());
9392
title_link = Some html_url;
9493
fallback = Some (sprintf "[%s] %s" repository.full_name title);
95-
text = Some (Mrkdwn.mrkdwn_of_markdown body);
9694
}
9795

9896
let populate_issue repository (issue : issue) =
99-
let ({ body; title; number; html_url; user; assignees; comments; labels; state; _ } : issue) = issue in
97+
let ({ title; number; html_url; user; assignees; comments; labels; state; _ } : issue) = issue in
10098
let fields =
10199
[
102100
"Assignees", List.map assignees ~f:pp_github_user;
@@ -118,7 +116,6 @@ let populate_issue repository (issue : issue) =
118116
title = Some (get_title ());
119117
title_link = Some html_url;
120118
fallback = Some (sprintf "[%s] %s" repository.full_name title);
121-
text = Some (Mrkdwn.mrkdwn_of_markdown body);
122119
}
123120

124121
let populate_commit repository (commit : api_commit) =

0 commit comments

Comments
 (0)