Skip to content

Commit 62d36f8

Browse files
authored
Update API.py
1 parent 19f6009 commit 62d36f8

File tree

1 file changed

+3
-3
lines changed
  • whatsapp_api_client_python

1 file changed

+3
-3
lines changed

whatsapp_api_client_python/API.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,9 @@ def __init__(
7474

7575
def _determine_host(self, idInstance: str) -> str:
7676
mapping = {
77-
"1103": (f"https://1103.api.green-api.com", f"https://1103.media.green-api.com"),
78-
"1104": (f"https://1103.api.green-api.com", f"https://1103.media.green-api.com"),
79-
"5700": (f"https://5700.api.green-api.com", f"https://5700.media.green-api.com"),
77+
"1103": ("https://1103.api.green-api.com", "https://1103.media.green-api.com"),
78+
"1104": ("https://1103.api.green-api.com", "https://1103.media.green-api.com"),
79+
"5700": ("https://5700.api.green-api.com", "https://5700.media.green-api.com"),
8080
"7103": ("https://7103.api.greenapi.com", "https://7103.media.greenapi.com"),
8181
"7105": ("https://7105.api.greenapi.com", "https://7105.media.greenapi.com"),
8282
"7723": ("https://7700.api.greenapi.com", "https://7700.media.greenapi.com"),

0 commit comments

Comments
 (0)