|
@@ -279,7 +279,6 @@ namespace WingMongoDBModule.Service
|
|
|
DOShare.ForceHttps = EnvironmentConfigManager.GetParammeter<BoolParameter>("Storage", "ForceHttps").Value;
|
|
|
_isCarotidOn = GetIsCarotidOn();
|
|
|
RegisterRepository();
|
|
|
- ResearchEditionServiceAuth().Wait();
|
|
|
var databaseExist = MongoRepertoryCenter.Instance.DatabaseExist();
|
|
|
if (!databaseExist)
|
|
|
{
|
|
@@ -898,6 +897,7 @@ namespace WingMongoDBModule.Service
|
|
|
_remedicalService = GetProxy<IRemedicalService>();
|
|
|
_storageService = GetProxy<IStorageService>();
|
|
|
await LoadDistributedServerConfig();
|
|
|
+ ResearchEditionServiceAuth().Wait();
|
|
|
}
|
|
|
catch (Exception ex)
|
|
|
{
|