Skip to content

Commit 455851e

Browse files
Potential fix for pull request finding 'CodeQL / Exposure of private information'
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent 7d14d6b commit 455851e

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

src/BikeTracking.Api/Application/Rides/WeatherLookupService.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,9 @@ ILogger<OpenMeteoWeatherLookupService> logger
135135
if (!response.IsSuccessStatusCode)
136136
{
137137
logger.LogWarning(
138-
"Open-Meteo lookup failed for {Latitude},{Longitude} at {UtcHour} with status {StatusCode}",
139-
latitude,
140-
longitude,
138+
"Open-Meteo lookup failed for rounded {LatitudeRounded},{LongitudeRounded} at {UtcHour} with status {StatusCode}",
139+
latRounded,
140+
lonRounded,
141141
dateTimeUtc,
142142
response.StatusCode
143143
);
@@ -250,9 +250,9 @@ out var precipType
250250
{
251251
logger.LogWarning(
252252
ex,
253-
"Open-Meteo lookup threw for {Latitude},{Longitude} at {UtcHour}",
254-
latitude,
255-
longitude,
253+
"Open-Meteo lookup threw for rounded {LatitudeRounded},{LongitudeRounded} at {UtcHour}",
254+
latRounded,
255+
lonRounded,
256256
dateTimeUtc
257257
);
258258
return null;

0 commit comments

Comments
 (0)