diff --git a/src/admin/Bootstrap.Admin/Bootstrap.Admin.csproj b/src/admin/Bootstrap.Admin/Bootstrap.Admin.csproj index 2b576960..d2f7685a 100644 --- a/src/admin/Bootstrap.Admin/Bootstrap.Admin.csproj +++ b/src/admin/Bootstrap.Admin/Bootstrap.Admin.csproj @@ -12,7 +12,7 @@ - + diff --git a/src/admin/Bootstrap.Admin/Tasks/TasksExtensions.cs b/src/admin/Bootstrap.Admin/Tasks/TasksExtensions.cs index 0a699f4c..08e8b2f5 100644 --- a/src/admin/Bootstrap.Admin/Tasks/TasksExtensions.cs +++ b/src/admin/Bootstrap.Admin/Tasks/TasksExtensions.cs @@ -18,7 +18,7 @@ namespace Microsoft.Extensions.DependencyInjection /// public static IServiceCollection AddBootstrapAdminBackgroundTask(this IServiceCollection services) { - services.AddTaskServices(); + services.AddTaskServices(builder => builder.AddFileStorage()); services.AddHostedService(); return services; }