แก้ไขชื่อ

This commit is contained in:
Dee Dev 2022-08-05 09:21:21 +07:00
parent e46afe3989
commit 180f60364a
2 changed files with 2 additions and 2 deletions

View File

@ -103,7 +103,7 @@ class EnkaNetworkAPI:
for filename in os.listdir(path[folder]):
self.LOGGER.debug(f"Downloading {folder} file {filename}...")
data = await self.__http.update_asset(folder, filename)
data = await self.__http.fetch_asset(folder, filename)
self.LOGGER.debug(f"Writing {folder} file {filename}...")

View File

@ -146,7 +146,7 @@ class HTTPClient:
)
return self.request(r)
def update_asset(self, folder: str, filename: str) -> Response[DefaultPayload]:
def fetch_asset(self, folder: str, filename: str) -> Response[DefaultPayload]:
r = Route(
'GET',
f'master/exports/{folder}/{filename}'