Roc 2 gadi atpakaļ
vecāks
revīzija
b7fd081f51
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      controller/chart/my_chart.go

+ 1 - 1
controller/chart/my_chart.go

@@ -564,7 +564,7 @@ func GetChartBeforeAndNext(c *gin.Context) {
 		afterResp.Sort = int(afterChart.Sort)
 		afterResp.UniqueCode = afterChart.UniqueCode
 		afterResp.ChartInfoId = afterChart.ChartInfoId
-		beforeResp.ChartInfoSource = beforeChart.ChartInfoSource
+		afterResp.ChartInfoSource = afterResp.ChartInfoSource
 		if afterIndex > lastIndex {
 			afterResp.Switch = 1
 		}