Jelajahi Sumber

statistic: 转换apiname

Yi 1 tahun lalu
induk
melakukan
ff130b1318
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      module/backend/statistic_service.go

+ 1 - 1
module/backend/statistic_service.go

@@ -429,7 +429,7 @@ func (s *StoreEntry) SearchFeedStatistics(ctx context.Context, req *operationPb.
 			}
 
 			if response.Code == http.StatusOK && response.Data.List != nil {
-				if req.ApiName == "getFeedEfficiencySC" {
+				if req.ApiName == "getFeedEfficiencyFT" {
 					feedStatisticsConversions := FeedStatisticsConversions(response.Data.List)
 					feedStatisticsConversions.PastureName = groupPasture.Name
 					res.Data.List[groupPasture.Name] = FeedStatisticsConversions(response.Data.List)