Skip to content

Commit ab45e7d

Browse files
authored
Update api.py
1 parent b13089a commit ab45e7d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

onlinesimru/api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def _get(self, endpoint: str, params: dict = None):
3434
payload = self.__get_payload(params=params)
3535

3636
response = httpx.get(
37-
f"https://onlinesim.ru/api" + endpoint + ".php",
37+
f"https://onlinesim.host/api" + endpoint + ".php",
3838
headers=self.headers,
3939
params=payload,
4040
)
@@ -50,7 +50,7 @@ def _post(self, endpoint: str, params: dict = None):
5050
payload = self.__get_payload(params=params)
5151

5252
response = httpx.post(
53-
f"https://onlinesim.ru/api" + endpoint + ".php",
53+
f"https://onlinesim.host/api" + endpoint + ".php",
5454
headers=self.headers,
5555
json=payload,
5656
)

0 commit comments

Comments
 (0)