Skip to content

Commit

Permalink
address pr comments
Browse files Browse the repository at this point in the history
  • Loading branch information
koros committed Dec 5, 2024
1 parent fdfabb7 commit 407f61a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Kiota.Builder/Refiners/HttpRefiner.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ public override Task RefineAsync(CodeNamespace generatedCode, CancellationToken
{
return element.GetImmediateParentOfType<CodeNamespace>()
.GetRootNamespace()?
.FindChildrenByName<CodeClass>(_configuration.ClientClassName)?
.FirstOrDefault()?
.FindChildByName<CodeClass>(_configuration.ClientClassName)?
.Methods?
.FirstOrDefault(static x => x.IsOfKind(CodeMethodKind.ClientConstructor))?
.BaseUrl;
Expand Down

0 comments on commit 407f61a

Please sign in to comment.