mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-26 11:51:02 +00:00
parent
fbdfa14a00
commit
6abc112262
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ type Opts struct {
|
|||
// New returns a Forge implementation that integrates with Gitea,
|
||||
// an open source Git service written in Go. See https://gitea.io/
|
||||
func New(opts Opts) (forge.Forge, error) {
|
||||
if opts.OAuth2URL != "" {
|
||||
if opts.OAuth2URL == "" {
|
||||
opts.OAuth2URL = opts.URL
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue