fix logs bug

This commit is contained in:
Liujian
2024-12-05 17:20:11 +08:00
parent 6a29b9492c
commit c241a0ba8f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -231,7 +231,7 @@ func (i *imlStrategyController) GetStrategyLogs(ctx *gin.Context, keyword string
if err != nil {
return nil, 0, fmt.Errorf("start time error: %s", err)
}
e, err := genTime(start, now)
e, err := genTime(end, now)
if err != nil {
return nil, 0, fmt.Errorf("end time error: %s", err)