Skip to content

Commit

Permalink
Add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
JimBobSquarePants committed Jan 27, 2022
1 parent 0bceaf3 commit ec8ecee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ public CommandCollection ParseRequestCommands(HttpContext context)
{
if (context.Request.Query.Count == 0 || !context.Request.Query.ContainsKey(QueryKey))
{
// We return new here and below to ensure the collection is still mutable via events.
return new();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ public CommandCollection ParseRequestCommands(HttpContext context)
{
if (context.Request.Query.Count == 0)
{
// We return new to ensure the collection is still mutable via events.
return new();
}

Expand Down

0 comments on commit ec8ecee

Please sign in to comment.