Update hostex_api.py
Fixes #1. upped the reservation api call to the max, from 20 results to 100 (what happens if I have more than 100 reservations though??)main
parent
f6ff47e47b
commit
4ac3ab5e5b
|
|
@ -8,7 +8,7 @@ class HostexManager:
|
|||
self.logger = logging.getLogger(__name__)
|
||||
|
||||
def fetch_reservations(self):
|
||||
url = f"{self.api_url}/reservations"
|
||||
url = f"{self.api_url}/reservations?limit=100"
|
||||
headers = {
|
||||
"Authorization": f"Bearer {self.api_key}",
|
||||
"Content-Type": "application/json"
|
||||
|
|
|
|||
Loading…
Reference in New Issue