Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

Add Web URL to response when comparing in a repository #2055

Merged
merged 2 commits into from
Nov 3, 2024

Conversation

heidiberry
Copy link
Contributor

Fixes #2031

repositories.go Outdated
@@ -209,6 +209,7 @@ type Compare struct {
Diffs []*Diff `json:"diffs"`
CompareTimeout bool `json:"compare_timeout"`
CompareSameRef bool `json:"compare_same_ref"`
WebUrl string `json:"web_url"`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please read: https://go.dev/wiki/CodeReviewComments#initialisms In Go this field should be named WebURL

Copy link
Member

@svanharmelen svanharmelen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks 👍🏻

@svanharmelen svanharmelen merged commit 5548b4f into xanzy:main Nov 3, 2024
3 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Repositories API Compare call is missing WebURL
2 participants