Change new endpoint

This commit is contained in:
M307 (Mac) 2023-01-25 22:49:33 +07:00
parent e8db2aff08
commit ea8688cb3d

View File

@ -174,7 +174,7 @@ class HTTPClient:
raise VaildateUIDError("Validate UID failed. Please check your UID.")
r = Route(
'GET',
f'/u/{uid}/__data.json' + (f"?key={self.__key}" if self.__key else ""),
f'/api/uid/{uid}' + (f"?key={self.__key}" if self.__key else ""),
endpoint='enka',
uid=uid
)