Merge pull request #1186 from smcpeck/EAP

Fix Headphones album search integration.
This commit is contained in:
Jamie 2017-02-25 22:27:03 +00:00 committed by GitHub
commit e43d2d8880
3 changed files with 4 additions and 1 deletions

View file

@ -68,6 +68,8 @@ namespace Ombi.Store
[JsonIgnore]
public bool CanApprove => !Approved && !Available;
public string ReleaseId { get; set; }
public bool UserHasRequested(string username)
{
return AllUsers.Any(x => x.Equals(username, StringComparison.OrdinalIgnoreCase));