Roc %!s(int64=2) %!d(string=hai) anos
pai
achega
a482447981
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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.Sort = int(afterChart.Sort)
 		afterResp.UniqueCode = afterChart.UniqueCode
 		afterResp.UniqueCode = afterChart.UniqueCode
 		afterResp.ChartInfoId = afterChart.ChartInfoId
 		afterResp.ChartInfoId = afterChart.ChartInfoId
-		afterResp.ChartInfoSource = afterResp.ChartInfoSource
+		afterResp.ChartInfoSource = afterChart.ChartInfoSource
 		if afterIndex > lastIndex {
 		if afterIndex > lastIndex {
 			afterResp.Switch = 1
 			afterResp.Switch = 1
 		}
 		}