Skip to content

Commit

Permalink
Fixed and API Change.
Browse files Browse the repository at this point in the history
Closes:
#174
#175
  • Loading branch information
masterking32 committed Aug 15, 2024
1 parent bca0366 commit c516ac2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -454,8 +454,8 @@ def GetSkins(self):
# Send POST request
return self.HttpRequest(url, headers, "POST", 200, "{}")

def MeTelegramRequest(self):
url = "https://api.hamsterkombatgame.io/auth/me-telegram"
def AccountInfoTelegramRequest(self):
url = "https://api.hamsterkombatgame.io/auth/account-info"
headers = {
"Access-Control-Request-Headers": "authorization",
"Access-Control-Request-Method": "POST",
Expand Down Expand Up @@ -1152,7 +1152,7 @@ def Start(self):
log.info(f"[{self.account_name}] Starting account...")

log.info(f"[{self.account_name}] Getting basic account data...")
AccountBasicData = self.MeTelegramRequest()
AccountBasicData = self.AccountInfoTelegramRequest()

if (
AccountBasicData is None
Expand Down

0 comments on commit c516ac2

Please sign in to comment.