diff options
| author | Ariel Costas Guerrero <ariel@costas.dev> | 2025-12-18 12:34:19 +0100 |
|---|---|---|
| committer | Ariel Costas Guerrero <ariel@costas.dev> | 2025-12-18 12:34:19 +0100 |
| commit | aaa3cf1818f00e7a89681a1afb734c92f451ef64 (patch) | |
| tree | 51c5d86e5d40dba807250dddc1db45aad901f953 | |
| parent | 182dd3c6b985e3094a178320107ded94635b50ad (diff) | |
Fix extra dollar sign in label
| -rw-r--r-- | src/Costasdev.Busurbano.Backend/Services/OtpService.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Costasdev.Busurbano.Backend/Services/OtpService.cs b/src/Costasdev.Busurbano.Backend/Services/OtpService.cs index 57a1491..eca8f50 100644 --- a/src/Costasdev.Busurbano.Backend/Services/OtpService.cs +++ b/src/Costasdev.Busurbano.Backend/Services/OtpService.cs @@ -42,7 +42,7 @@ public class OtpService var results = response?.Features.Select(f => new PlannerSearchResult { Name = f.Properties?.Name, - Label = $"{f.Properties?.PostalCode} ${f.Properties?.LocalAdmin}, {f.Properties?.Region}", + Label = $"{f.Properties?.PostalCode} {f.Properties?.LocalAdmin}, {f.Properties?.Region}", Layer = f.Properties?.Layer, Lat = f.Geometry?.Coordinates.Count > 1 ? f.Geometry.Coordinates[1] : 0, Lon = f.Geometry?.Coordinates.Count > 0 ? f.Geometry.Coordinates[0] : 0 @@ -78,7 +78,7 @@ public class OtpService var result = new PlannerSearchResult { Name = feature.Properties?.Name, - Label = $"{feature.Properties?.PostalCode} ${feature.Properties?.LocalAdmin}, {feature.Properties?.Region}", + Label = $"{feature.Properties?.PostalCode} {feature.Properties?.LocalAdmin}, {feature.Properties?.Region}", Layer = feature.Properties?.Layer, Lat = feature.Geometry?.Coordinates.Count > 1 ? feature.Geometry.Coordinates[1] : 0, Lon = feature.Geometry?.Coordinates.Count > 0 ? feature.Geometry.Coordinates[0] : 0 |
