mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-29 10:57:44 +09:00 
			
		
		
		
	merge
This commit is contained in:
		
							
								
								
									
										2
									
								
								serve.go
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								serve.go
									
									
									
									
									
								
							| @@ -106,7 +106,7 @@ func runServ(k *cli.Context) { | ||||
|  | ||||
| 	//os.Setenv("userName", user.Name) | ||||
| 	//os.Setenv("userId", strconv.Itoa(int(user.Id))) | ||||
| 	repo, err := models.GetRepositoryByName(user, repoName) | ||||
| 	repo, err := models.GetRepositoryByName(user.Id, repoName) | ||||
| 	var isExist bool = true | ||||
| 	if err != nil { | ||||
| 		if err == models.ErrRepoNotExist { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user