Removed logging
This commit is contained in:
@@ -162,12 +162,8 @@ public class GeoIPService : IHostedService
|
||||
|
||||
if (_dbReader!.TryCity(ip, out var response))
|
||||
{
|
||||
_logger.LogWarning(ip.ToString());
|
||||
_logger.LogWarning(response?.Country?.ToString());
|
||||
_logger.LogWarning(response?.Country?.IsoCode);
|
||||
|
||||
var country = response?.Country?.IsoCode;
|
||||
return !string.IsNullOrEmpty(country) ? country : "*";
|
||||
return country ?? "*";
|
||||
}
|
||||
|
||||
return "*";
|
||||
|
||||
Reference in New Issue
Block a user