mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
Add default branch to repo payload
This commit is contained in:
@@ -415,6 +415,7 @@ func (repo *Repository) ComposePayload() *api.PayloadRepo {
|
||||
UserName: repo.MustOwner().Name,
|
||||
},
|
||||
Private: repo.IsPrivate,
|
||||
DefaultBranch: repo.DefaultBranch,
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user