Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
glucaci committed Mar 3, 2021
1 parent a1b3566 commit 395dbaa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Core/BewitContextExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ public static class BewitContextExtensions
{
private static readonly string _key = nameof(BewitContext);

public static void SetBewitContext(
public static void SetBewitPayload(
this IHttpContextAccessor httpContextAccessor,
object value)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public async Task InvokeAsync(IMiddlewareContext context)
new BewitToken<T>(bewitToken),
context.RequestAborted);

_httpContextAccessor.SetBewitContext(payload);
_httpContextAccessor.SetBewitPayload(payload);

await _next(context);
}
Expand Down

0 comments on commit 395dbaa

Please sign in to comment.