mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-04-24 13:56:57 +00:00
fix pages
repo default branch detection
This commit is contained in:
parent
81c46cc887
commit
cde2137df0
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ func GetBranchTimestamp(giteaClient *gitea.Client, owner, repo, branch string, b
|
|||
result.Branch = defaultBranch
|
||||
}
|
||||
|
||||
timestamp, err := giteaClient.GiteaGetRepoBranchTimestamp(owner, repo, branch)
|
||||
timestamp, err := giteaClient.GiteaGetRepoBranchTimestamp(owner, repo, result.Branch)
|
||||
if err != nil {
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue