Skip to content

Commit

Permalink
Removes comment
Browse files Browse the repository at this point in the history
  • Loading branch information
christostatitzikidis committed Feb 4, 2023
1 parent c8b50d7 commit 4e346f6
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,7 @@ protected override void MarshallRequest(InvokeFeatures features, APIGatewayProxy
path = path.Replace($"{{{pathParameter.Key}}}", pathParameter.Value);
}
}
// As a matter of fact, is there a reason for the if clause above? A simpler/faster solution would be to straight on replace the path as below


if (string.IsNullOrEmpty(path))
{
path = apiGatewayRequest.Path;
Expand Down

0 comments on commit 4e346f6

Please sign in to comment.