Skip to content

Commit

Permalink
Update api.py
Browse files Browse the repository at this point in the history
  • Loading branch information
s00d authored Feb 22, 2023
1 parent b13089a commit ab45e7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions onlinesimru/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def _get(self, endpoint: str, params: dict = None):
payload = self.__get_payload(params=params)

response = httpx.get(
f"https://onlinesim.ru/api" + endpoint + ".php",
f"https://onlinesim.host/api" + endpoint + ".php",
headers=self.headers,
params=payload,
)
Expand All @@ -50,7 +50,7 @@ def _post(self, endpoint: str, params: dict = None):
payload = self.__get_payload(params=params)

response = httpx.post(
f"https://onlinesim.ru/api" + endpoint + ".php",
f"https://onlinesim.host/api" + endpoint + ".php",
headers=self.headers,
json=payload,
)
Expand Down

0 comments on commit ab45e7d

Please sign in to comment.