This commit is contained in:
Adam Majer 2024-07-10 11:25:00 +02:00
parent 6e501c82bc
commit 262cc0ff91
2 changed files with 1 additions and 3 deletions

View File

@ -15,7 +15,7 @@ import (
func (h *RequestHandler) allocateGiteaTransport() *transport.Runtime {
r := transport.New("src.opensuse.org", apiclient.DefaultBasePath, [](string){"https"})
r.DefaultAuthentication = transport.BearerToken(h.GiteaToken)
r.DefaultAuthentication = transport.BearerToken(giteaToken)
r.SetDebug(true)
return r
}

View File

@ -11,8 +11,6 @@ type Request struct {
}
type RequestHandler struct {
ObsToken, GiteaToken string
Error error
GitCommiter, GitPath string
Branch []string