mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 05:53:33 -07:00
Initialze Newznab will delete any with a null/empty name or URL.
This commit is contained in:
parent
d66f0eb052
commit
92c6451bfc
2 changed files with 9 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
|||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using PetaPoco;
|
||||
|
||||
namespace NzbDrone.Core.Repository
|
||||
|
@ -11,8 +12,10 @@ namespace NzbDrone.Core.Repository
|
|||
|
||||
public Boolean Enable { get; set; }
|
||||
|
||||
[DisplayFormat(ConvertEmptyStringToNull = false)]
|
||||
public String Name { get; set; }
|
||||
|
||||
[DisplayFormat(ConvertEmptyStringToNull = false)]
|
||||
public String Url { get; set; }
|
||||
|
||||
public String ApiKey { get; set; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue