Fix overseerr structures

This commit is contained in:
samwiseg0 2022-01-19 14:05:24 -05:00
parent d1b47e0bd9
commit 442b518ced
4 changed files with 5 additions and 7 deletions

View file

@ -18,7 +18,7 @@ class OverseerrAPI(object):
def __repr__(self):
return f"<overseerr-{self.server.id}>"
def get_request_status_counts(self):
def get_request_counts(self):
now = datetime.now(timezone.utc).astimezone().isoformat()
endpoint = '/api/v1/request/count'

View file

@ -64,8 +64,6 @@ class OverseerrServer(NamedTuple):
verify_ssl: bool = False
get_request_total_counts: bool = False
request_total_run_seconds: int = 30
get_request_status_counts: bool = False
request_status_run_seconds: int = 30
get_latest_requests: bool = False
num_latest_requests_to_fetch: int = 10
num_latest_requests_seconds: int = 30