1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-03 17:12:49 -05:00

abstract context building to overrideable SetContextAsync (#766)

* abstract context building to overrideable SetContextAsync

* update method calls
This commit is contained in:
Kyle Spearrin
2020-06-04 14:14:43 -04:00
committed by GitHub
parent d36c403e6b
commit 4bd3e01a80
3 changed files with 13 additions and 7 deletions

View File

@ -14,7 +14,7 @@ namespace Bit.Core.Utilities
public async Task Invoke(HttpContext httpContext, CurrentContext currentContext, GlobalSettings globalSettings)
{
currentContext.Build(httpContext, globalSettings);
await currentContext.BuildAsync(httpContext, globalSettings);
await _next.Invoke(httpContext);
}
}