diff --git a/WebInterface/Controllers/api/ChannelsControler.cs b/WebInterface/Controllers/api/ChannelsControler.cs index 4bdb097..fb3dfd6 100644 --- a/WebInterface/Controllers/api/ChannelsControler.cs +++ b/WebInterface/Controllers/api/ChannelsControler.cs @@ -32,7 +32,7 @@ public class ChannelsController : ControllerBase var fromDb = _db.Channels.Find(channel.Id); if (fromDb == null) { - _logger.LogError($"attempt to update channel {channel.Id}, not found"); //ca2254 is moronic. maybe if it wasn't filed under "code quality" and instead was filed under "you didn't include a workaround for the weaknesses of other external junk" i'd be kinder to it ;) + _logger.LogError($"attempt to update channel {channel.Id}, not found"); return NotFound(); } //settable values: lewdness filter level, meanness filter level. maybe i could decorate them... diff --git a/vassago.csproj b/vassago.csproj index f4baece..f9392a8 100644 --- a/vassago.csproj +++ b/vassago.csproj @@ -3,6 +3,7 @@ net7.0 enable + $(NoWarn);CA2254