From 9784e6430796e15e36cb0c3905e835f90245c3b9 Mon Sep 17 00:00:00 2001 From: lilydjwg Date: Fri, 8 Mar 2024 20:49:37 +0800 Subject: [PATCH] still fix --- nvchecker_source/gitea.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nvchecker_source/gitea.py b/nvchecker_source/gitea.py index e2433e1..94156b7 100644 --- a/nvchecker_source/gitea.py +++ b/nvchecker_source/gitea.py @@ -52,6 +52,6 @@ async def get_version( else: return RichResult( version = data[0]['commit']['committer']['date'].split('T', 1)[0].replace('-', ''), - revision = data[0]['id'], + revision = data[0]['sha'], url = data[0]['html_url'], )