mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-13 18:16:55 -07:00
Lots of fixes. Becoming more stable now. #865
This commit is contained in:
parent
1c6ddc74cb
commit
dcf97a1008
31 changed files with 1021 additions and 381 deletions
|
@ -1,7 +1,5 @@
|
|||
using System;
|
||||
using System.Net.Http;
|
||||
using System.Net.Http;
|
||||
using System.Threading.Tasks;
|
||||
using Newtonsoft.Json;
|
||||
using Ombi.Api.Plex.Models;
|
||||
using Ombi.Api.Plex.Models.Server;
|
||||
using Ombi.Api.Plex.Models.Status;
|
||||
|
@ -10,12 +8,12 @@ namespace Ombi.Api.Plex
|
|||
{
|
||||
public class PlexApi : IPlexApi
|
||||
{
|
||||
public PlexApi()
|
||||
public PlexApi(IApi api)
|
||||
{
|
||||
Api = new Api();
|
||||
Api = api;
|
||||
}
|
||||
|
||||
private Api Api { get; }
|
||||
private IApi Api { get; }
|
||||
|
||||
private const string SignInUri = "https://plex.tv/users/sign_in.json";
|
||||
private const string FriendsUri = "https://plex.tv/pms/friends/all";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue