glax
0c580933f9
Abstracted class Komga into LibraryManager Fixed logger not attaching to LibraryManager
15 lines
359 B
C#
15 lines
359 B
C#
using Logging;
|
|
|
|
namespace Tranga.TrangaTasks;
|
|
|
|
public class UpdateKomgaLibraryTask : TrangaTask
|
|
{
|
|
public UpdateKomgaLibraryTask(Task task, TimeSpan reoccurrence) : base(task, null, null, reoccurrence)
|
|
{
|
|
}
|
|
|
|
protected override void ExecuteTask(TaskManager taskManager, Logger? logger)
|
|
{
|
|
taskManager.komga?.UpdateLibrary();
|
|
}
|
|
} |