save defaultBranch we looked up for the timestamp lookup

main
Ben Harris 4 months ago
parent d84955e6cd
commit c12dfb21be
  1. 1
      server/upstream/helper.go

@ -35,6 +35,7 @@ func GetBranchTimestamp(owner, repo, branch, giteaRoot, giteaAPIToken string, br
return nil
}
result.Branch = defaultBranch
branch = defaultBranch
}
timestamp, err := giteaGetRepoBranchTimestamp(giteaRoot, owner, repo, branch, giteaAPIToken)

Loading…
Cancel
Save