mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 00:20:25 +08:00 
			
		
		
		
	[Bug] [API] Add language to user api (#9215)
* add language to user api * OK Co-Authored-By: Lauris BH <lauris@nix.lv>
This commit is contained in:
		@@ -273,6 +273,7 @@ func ToUser(user *models.User, signed, authed bool) *api.User {
 | 
			
		||||
		result.ID = user.ID
 | 
			
		||||
		result.IsAdmin = user.IsAdmin
 | 
			
		||||
		result.LastLogin = user.LastLoginUnix.AsTime()
 | 
			
		||||
		result.Language = user.Language
 | 
			
		||||
	}
 | 
			
		||||
	return result
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user