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:
@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user