.
This commit is contained in:
parent
6e501c82bc
commit
262cc0ff91
@ -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
|
||||
}
|
||||
|
@ -11,8 +11,6 @@ type Request struct {
|
||||
}
|
||||
|
||||
type RequestHandler struct {
|
||||
ObsToken, GiteaToken string
|
||||
|
||||
Error error
|
||||
GitCommiter, GitPath string
|
||||
Branch []string
|
||||
|
Loading…
Reference in New Issue
Block a user