mirror of
https://gitee.com/gitea/gitea
synced 2025-12-16 04:56:37 +08: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