Get hcs request result separately
This commit is contained in:
@ -60,7 +60,7 @@ namespace Hcs.WebApp.BackgroundServices
|
||||
using var scope = scopeFactory.CreateScope();
|
||||
var headquartersService = scope.ServiceProvider.GetRequiredService<HeadquartersService>();
|
||||
|
||||
var operations = await headquartersService.GetInitiatedOperationsAsync();
|
||||
var operations = await headquartersService.GetNotExecutedOperationsAsync();
|
||||
foreach (var operation in operations)
|
||||
{
|
||||
state.EnqueueOperation(operation);
|
||||
@ -70,7 +70,7 @@ namespace Hcs.WebApp.BackgroundServices
|
||||
private void InitializeClient()
|
||||
{
|
||||
logger = new ActionLogger();
|
||||
messageCapturer = new FileMessageCapturer("messages", logger);
|
||||
messageCapturer = new FileMessageCapturer("outgoing", logger);
|
||||
|
||||
using var scope = scopeFactory.CreateScope();
|
||||
var configuration = scope.ServiceProvider.GetRequiredService<IConfiguration>();
|
||||
|
||||
Reference in New Issue
Block a user