Skip to content

Commit

Permalink
Merge pull request #20 from erikjanwestendorp/change-return-type
Browse files Browse the repository at this point in the history
Change return type of CreateRootNode method
  • Loading branch information
Jeavon authored Jan 11, 2023
2 parents a27b4f0 + 09e6c43 commit b5a394a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ protected override ActionResult<MenuItemCollection> GetMenuForNode(string id, Fo
return menu;
}

protected override ActionResult<TreeNode> CreateRootNode(FormCollection queryStrings)
protected override ActionResult<TreeNode?> CreateRootNode(FormCollection queryStrings)
{
var rootResult = base.CreateRootNode(queryStrings);
if (!(rootResult.Result is null))
Expand Down

0 comments on commit b5a394a

Please sign in to comment.