diff --git a/League/Controllers/Match.cs b/League/Controllers/Match.cs index fb15040..fa47cc6 100644 --- a/League/Controllers/Match.cs +++ b/League/Controllers/Match.cs @@ -701,7 +701,7 @@ private async Task GetEnterResultViewModel(MatchEntity mat : throw new InvalidOperationException($"{nameof(EnterResultViewModel)} could not be initiated"); } -#pragma warning disable S2083 // reason: False positive ReportSheet cannot be injected with malicious code +#pragma warning disable S2076 // reason: False positive ReportSheet cannot be injected with malicious code /// /// Gets a match report sheet suitable for a printout, /// if the match has not already been played. @@ -743,8 +743,8 @@ public async Task ReportSheet(long id, [FromServices] ReportSheet Response.Clear(); return View(ViewNames.Match.ReportSheet, model); } -#pragma warning restore S2083 // reason: False positive ReportSheet cannot be injected with malicious code - +#pragma warning restore S2076 // reason: False positive ReportSheet cannot be injected with malicious code + private void SendFixtureNotification(long matchId) { var smt = _sendMailTask.CreateNewInstance();