mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-11 07:46:05 -07:00
Some error handling and ensure we are an admin to delete requests.
Also started on the approval of everything
This commit is contained in:
parent
2935bee30d
commit
0942bfcbcc
18 changed files with 436 additions and 58 deletions
|
@ -1,4 +1,5 @@
|
|||
using System;
|
||||
using System.Security.Cryptography;
|
||||
|
||||
using Dapper.Contrib.Extensions;
|
||||
|
||||
|
@ -20,7 +21,8 @@ namespace PlexRequests.Store
|
|||
public string RequestedBy { get; set; }
|
||||
public DateTime RequestedDate { get; set; }
|
||||
public bool Available { get; set; }
|
||||
|
||||
public IssueState Issues { get; set; }
|
||||
public string OtherMessage { get; set; }
|
||||
}
|
||||
|
||||
public enum RequestType
|
||||
|
@ -28,4 +30,13 @@ namespace PlexRequests.Store
|
|||
Movie,
|
||||
TvShow
|
||||
}
|
||||
|
||||
public enum IssueState
|
||||
{
|
||||
WrongAudio,
|
||||
NoSubtitles,
|
||||
WrongContent,
|
||||
PlaybackIssues,
|
||||
Other
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue