mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-07 21:51:13 -07:00
Removed the service locator from the base classes and added in some Api tests
added all the tests back in!
This commit is contained in:
parent
187a59261a
commit
84dc4515fd
21 changed files with 251 additions and 176 deletions
|
@ -101,7 +101,7 @@ namespace PlexRequests.UI.Modules
|
|||
INotificationService notify,
|
||||
ISettingsService<HeadphonesSettings> headphones,
|
||||
ISettingsService<LogSettings> logs,
|
||||
ICacheProvider cache) : base("admin")
|
||||
ICacheProvider cache) : base("admin", prService)
|
||||
{
|
||||
PrService = prService;
|
||||
CpService = cpService;
|
||||
|
@ -123,9 +123,8 @@ namespace PlexRequests.UI.Modules
|
|||
LogService = logs;
|
||||
Cache = cache;
|
||||
|
||||
#if DEBUG
|
||||
this.RequiresClaims(UserClaims.Admin);
|
||||
#endif
|
||||
|
||||
Get["/"] = _ => Admin();
|
||||
|
||||
Get["/authentication"] = _ => Authentication();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue