cleanup
parent
f3ad68e155
commit
d59a2a2954
|
@ -28,9 +28,7 @@ await host.RunAsync();
|
|||
|
||||
static async Task UpdatePodcasts(IServiceProvider hostProvider)
|
||||
{
|
||||
|
||||
using var scope = hostProvider.CreateScope();
|
||||
|
||||
var handler = scope.ServiceProvider.GetRequiredService<IPodcastUpdateHandler>();
|
||||
await handler.HandleUpdateAsync();
|
||||
}
|
Loading…
Reference in New Issue