mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-09-17 09:34:24 +00:00
Missed an argument
This commit is contained in:
@@ -180,7 +180,7 @@ func (c *client) Repo(u *model.User, owner, name string) (*model.Repo, error) {
|
||||
if item.Name == "http" {
|
||||
uri, err := url.Parse(item.Href)
|
||||
if err != nil {
|
||||
return err
|
||||
return nil, err
|
||||
}
|
||||
uri.User = nil
|
||||
repo.Clone = uri.String()
|
||||
|
Reference in New Issue
Block a user