Рабочий чат
This commit is contained in:
@@ -36,6 +36,7 @@ using Microsoft.AspNetCore.Authentication.JwtBearer;
|
||||
using Microsoft.AspNetCore.SignalR;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.IdentityModel.Tokens;
|
||||
using MediatR;
|
||||
|
||||
|
||||
|
||||
@@ -211,6 +212,10 @@ using (var scope = app.Services.CreateScope())
|
||||
{
|
||||
concreteSettings.Initialize();
|
||||
}
|
||||
|
||||
// Sync user replicas for Relations module on startup
|
||||
var mediator = scope.ServiceProvider.GetRequiredService<IMediator>();
|
||||
await mediator.Send(new Knot.Modules.Relations.Application.Contacts.SyncReplicasCommand());
|
||||
}
|
||||
|
||||
// Настройка конвейера запросов
|
||||
|
||||
Reference in New Issue
Block a user