mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-06-02 22:22:28 +00:00
Fix compiler warning
This commit is contained in:
parent
e72e924c40
commit
98cf99e4b0
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ public class ReportPage : BaseLayout
|
||||||
public ReportPage(Database database) : base(database)
|
public ReportPage(Database database) : base(database)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
public GriefReport Report;
|
public GriefReport Report = null!; // Report is not used if it's null in OnGet
|
||||||
|
|
||||||
public async Task<IActionResult> OnGet([FromRoute] int reportId)
|
public async Task<IActionResult> OnGet([FromRoute] int reportId)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue