refactor: rename overwritten method.

This commit is contained in:
UpstreamData
2024-01-25 16:32:33 -07:00
parent 5ad23c6cd0
commit 718b87fd12

View File

@@ -244,7 +244,7 @@ class AuradineWebAPI(BaseWebAPI):
async def timedate(self, ntp: str, timezone: str) -> dict: async def timedate(self, ntp: str, timezone: str) -> dict:
return await self.send_command("timedate", ntp=ntp, timezone=timezone) return await self.send_command("timedate", ntp=ntp, timezone=timezone)
async def token(self) -> dict: async def get_token(self) -> dict:
return await self.send_command("token", user=self.username, password=self.pwd) return await self.send_command("token", user=self.username, password=self.pwd)
async def update_pools(self, pools: list[dict]) -> dict: async def update_pools(self, pools: list[dict]) -> dict: