mirror of
				https://github.com/songquanpeng/one-api.git
				synced 2025-11-04 07:43:41 +08:00 
			
		
		
		
	fix: fix group list not correct (close #147)
This commit is contained in:
		@@ -17,6 +17,7 @@ func GroupRatio2JSONString() string {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func UpdateGroupRatioByJSONString(jsonStr string) error {
 | 
			
		||||
	GroupRatio = make(map[string]float64)
 | 
			
		||||
	return json.Unmarshal([]byte(jsonStr), &GroupRatio)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user