You've already forked woodpecker
							
							
				mirror of
				https://github.com/woodpecker-ci/woodpecker.git
				synced 2025-10-30 23:27:39 +02:00 
			
		
		
		
	API GetRepos() return empty list if no active repos exist (#658)
This commit is contained in:
		| @@ -128,7 +128,7 @@ func GetRepos(c *gin.Context) { | ||||
| 		return | ||||
| 	} | ||||
|  | ||||
| 	var active []*model.Repo | ||||
| 	active := make([]*model.Repo, 0) | ||||
| 	for _, repo := range repos { | ||||
| 		if repo.IsActive { | ||||
| 			active = append(active, repo) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user