mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Change constants to UPPERCASE_WITH_UNDERSCORE style
This commit is contained in:
		@@ -255,7 +255,7 @@ func ListMyRepos(ctx *middleware.Context) {
 | 
			
		||||
			return
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		repos[i] = ToApiRepository(repo.Owner, repo, api.Permission{false, access >= models.WriteAccess, true})
 | 
			
		||||
		repos[i] = ToApiRepository(repo.Owner, repo, api.Permission{false, access >= models.ACCESS_MODE_WRITE, true})
 | 
			
		||||
 | 
			
		||||
		// FIXME: cache result to reduce DB query?
 | 
			
		||||
		if repo.Owner.IsOrganization() && repo.Owner.IsOwnedBy(ctx.User.Id) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user