We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 204833f commit 9d6da14Copy full SHA for 9d6da14
1 file changed
service/assistant/widgets/map.go
@@ -68,8 +68,8 @@ func mapWidget(ctx context.Context, markerString, includeLocationString string)
68
continue
69
}
70
idxStr := parts[0]
71
- name := parts[1]
72
- idx, err := strconv.Atoi(idxStr)
+ name := strings.TrimSpace(parts[1])
+ idx, err := strconv.Atoi(strings.TrimSpace(idxStr))
73
if err != nil {
74
log.Printf("Error parsing index %s: %v", idxStr, err)
75
0 commit comments