hsun 3 жил өмнө
parent
commit
9511da9279

+ 1 - 1
controller/chart/chart_info.go

@@ -73,7 +73,7 @@ func GetChartInfoDetail(c *gin.Context)  {
 	}
 	chartType = chartInfo.ChartType
 	calendar := chartInfo.Calendar
-	if reqCalendar == "" {
+	if reqCalendar != "" {
 		calendar = reqCalendar
 	}