docs consolidation and others
This commit is contained in:
@@ -448,7 +448,7 @@ public sealed class RiskBundleJobHandler : IRiskBundleJobHandler
|
||||
return null;
|
||||
}
|
||||
|
||||
private static RiskBundleAvailableProvider CreateProviderInfo(string providerId, bool mandatory)
|
||||
private RiskBundleAvailableProvider CreateProviderInfo(string providerId, bool mandatory)
|
||||
{
|
||||
var (displayName, description) = providerId switch
|
||||
{
|
||||
@@ -467,7 +467,7 @@ public sealed class RiskBundleJobHandler : IRiskBundleJobHandler
|
||||
Description = description,
|
||||
Mandatory = mandatory,
|
||||
Available = true, // Would check actual availability in production
|
||||
LastSnapshotDate = DateOnly.FromDateTime(DateTime.UtcNow.AddDays(-1)),
|
||||
LastSnapshotDate = DateOnly.FromDateTime(_timeProvider.GetUtcNow().AddDays(-1).DateTime),
|
||||
DefaultSourcePath = $"/data/providers/{providerId}/current"
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user