mirror of
				https://github.com/go-gitea/gitea
				synced 2025-11-04 05:18:25 +00:00 
			
		
		
		
	Merge pull request #1862 from nathan7/fix-private
Fix the JSON field names for MigrateRepoForm
This commit is contained in:
		@@ -37,8 +37,8 @@ type MigrateRepoForm struct {
 | 
				
			|||||||
	AuthPassword string `json:"auth_password"`
 | 
						AuthPassword string `json:"auth_password"`
 | 
				
			||||||
	Uid          int64  `json:"uid" binding:"Required"`
 | 
						Uid          int64  `json:"uid" binding:"Required"`
 | 
				
			||||||
	RepoName     string `json:"repo_name" binding:"Required;AlphaDashDot;MaxSize(100)"`
 | 
						RepoName     string `json:"repo_name" binding:"Required;AlphaDashDot;MaxSize(100)"`
 | 
				
			||||||
	Private      bool   `json:"mirror"`
 | 
						Mirror       bool   `json:"mirror"`
 | 
				
			||||||
	Mirror       bool   `json:"private"`
 | 
						Private      bool   `json:"private"`
 | 
				
			||||||
	Description  string `json:"description" binding:"MaxSize(255)"`
 | 
						Description  string `json:"description" binding:"MaxSize(255)"`
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user