Fix overseerr structures
This commit is contained in:
parent
d1b47e0bd9
commit
442b518ced
4 changed files with 5 additions and 7 deletions
|
|
@ -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'
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue