mirror of
https://github.com/lidarr/Lidarr
synced 2025-01-31 03:11:51 +00:00
New: PushBullet to all devices (leave device id blank)
This commit is contained in:
parent
9edb261c16
commit
48a92696e9
1 changed files with 1 additions and 2 deletions
|
@ -11,7 +11,6 @@ public class PushBulletSettingsValidator : AbstractValidator<PushBulletSettings>
|
|||
public PushBulletSettingsValidator()
|
||||
{
|
||||
RuleFor(c => c.ApiKey).NotEmpty();
|
||||
RuleFor(c => c.DeviceId).NotEmpty();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -22,7 +21,7 @@ public class PushBulletSettings : IProviderConfig
|
|||
[FieldDefinition(0, Label = "API Key", HelpLink = "https://www.pushbullet.com/")]
|
||||
public String ApiKey { get; set; }
|
||||
|
||||
[FieldDefinition(1, Label = "Device ID", HelpText = "device_iden in the device's URL on pubshbullet.com")]
|
||||
[FieldDefinition(1, Label = "Device ID", HelpText = "device_iden in the device's URL on pubshbullet.com (leave blank to send to all devices)")]
|
||||
public String DeviceId { get; set; }
|
||||
|
||||
public bool IsValid
|
||||
|
|
Loading…
Reference in a new issue