Skip to content

Commit

Permalink
solve comment
Browse files Browse the repository at this point in the history
  • Loading branch information
qwerty287 committed Jan 23, 2025
1 parent f3784a6 commit 7803d48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/forge/bitbucketdatacenter/bitbucketdatacenter.go
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ func (c *client) BranchHead(ctx context.Context, u *model.User, r *model.Repo, b
cm := commits[0]

return &model.Commit{
SHA: cm.ID, // TODO check id or displayid?
SHA: cm.ID,
ForgeURL: fmt.Sprintf("%s/commits/%s", r.ForgeURL, cm.ID),
Message: cm.Message,
Author: model.CommitAuthor{
Expand Down

0 comments on commit 7803d48

Please sign in to comment.