Skip to content

Commit

Permalink
add pr body
Browse files Browse the repository at this point in the history
  • Loading branch information
jazanne committed Feb 23, 2024
1 parent 3970a26 commit a17ae9a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/ldclient/flag_links.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ func makeFlagLinkRep(event *github.PullRequestEvent, flagKey, message string) *l
"message": message,
"prNumber": strconv.Itoa(*pr.Number),
"prTitle": *pr.Title,
"prBody": *pr.Body,
"state": *pr.State,
"avatarUrl": *pr.User.AvatarURL,
"repoName": *event.Repo.FullName,
Expand All @@ -110,7 +111,7 @@ func makeFlagLinkRep(event *github.PullRequestEvent, flagKey, message string) *l
metadata["authorDisplayName"] = *pr.User.Name
} else {
metadata["authorDisplayName"] = *pr.User.Login
metadata["authorName"] = *pr.User.Login
metadata["authorLogin"] = *pr.User.Login
}

var timestamp *int64
Expand Down

0 comments on commit a17ae9a

Please sign in to comment.