Skip to content

Commit 49fe1b9

Browse files
Fix pre-existing IDE0390 build error in BannersController
Co-authored-by: frasermolyneux <34033625+frasermolyneux@users.noreply.github.com>
1 parent ff3bcf9 commit 49fe1b9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/XtremeIdiots.Portal.Web/Controllers/BannersController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public class BannersController(
2929
public async Task<IActionResult> GameServersList(CancellationToken cancellationToken = default)
3030
{
3131
return await ExecuteWithErrorHandlingAsync(
32-
async () => View(),
32+
() => Task.FromResult<IActionResult>(View()),
3333
"Display game servers list view for banner management").ConfigureAwait(false);
3434
}
3535
}

0 commit comments

Comments
 (0)