mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-18 21:34:28 -04:00
Fixed: Backup API improvements
This commit is contained in:
@@ -1,10 +1,21 @@
|
|||||||
using NzbDrone.Core.Messaging.Commands;
|
using NzbDrone.Core.Messaging.Commands;
|
||||||
|
|
||||||
namespace NzbDrone.Core.Backup
|
namespace NzbDrone.Core.Backup
|
||||||
{
|
{
|
||||||
public class BackupCommand : Command
|
public class BackupCommand : Command
|
||||||
{
|
{
|
||||||
public BackupType Type { get; set; }
|
public BackupType Type
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
if (Trigger == CommandTrigger.Scheduled)
|
||||||
|
{
|
||||||
|
return BackupType.Scheduled;
|
||||||
|
}
|
||||||
|
|
||||||
|
return BackupType.Manual;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public override bool SendUpdatesToClient => true;
|
public override bool SendUpdatesToClient => true;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user