mirror of
https://github.com/bitwarden/server
synced 2025-12-12 06:13:43 +00: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