Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Apr 5, 2024
1 parent 05ab6e8 commit 8df38b5
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions utils/github_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@


async def get_last_update():
async with aiohttp.ClientSession() as session, session.get(
"https://api.github.com/repos/Zalk0/chouettebot-discord/commits/main"
) as response:
async with (
aiohttp.ClientSession() as session,
session.get(
"https://api.github.com/repos/Zalk0/chouettebot-discord/commits/main"
) as response,
):
commit_infos = await response.json()
return commit_infos["commit"]["author"]["date"][:10]

0 comments on commit 8df38b5

Please sign in to comment.