Skip to content

Commit

Permalink
Fix errors in code prompts (#11973)
Browse files Browse the repository at this point in the history
  • Loading branch information
hyzx86 authored Jul 9, 2022
1 parent cc0d298 commit b9a8045
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
<span class="badge ta-badge font-weight-normal">
<i class="fas fa-history text-secondary" aria-hidden="true"></i>
<a href="?q=category:@Model.Descriptor.Category" data-bs-toggle="tooltip"
title="@T["Category"]">@Model.Descriptor.LocalizedCategory(Context.RequestServices)</a></span>
title="@T["Category"]">@Model.Descriptor.LocalizedCategory(Context.RequestServices)</a>
</span>


<span class="badge ta-badge font-weight-normal">
<i class="fas fa-bolt text-secondary" aria-hidden="true"></i>
<a href="?q=event:@Model.Descriptor.Name" data-bs-toggle="tooltip"
title="@T["Event Name"]">@Model.Descriptor.LocalizedName(Context.RequestServices)</a></span>
title="@T["Event Name"]">@Model.Descriptor.LocalizedName(Context.RequestServices)</a>
</span>

Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public HttpMethodsProvider(IHttpContextAccessor httpContextAccessor)
using (var sr = new StreamReader(httpContextAccessor.HttpContext.Request.Body))
{
// Async read of the request body is mandatory.
return sr.ReadToEndAsync().GetAwaiter().GetResult(); ;
return sr.ReadToEndAsync().GetAwaiter().GetResult();
}
})
};
Expand Down

0 comments on commit b9a8045

Please sign in to comment.