From 2716eef153518dcf3cf44bb28c072392770487df Mon Sep 17 00:00:00 2001 From: mike Date: Tue, 18 Jun 2024 00:45:14 -0700 Subject: [PATCH] Actually just unwrap the topics --- gitea/apiobject.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitea/apiobject.py b/gitea/apiobject.py index 480d39b..df92e54 100644 --- a/gitea/apiobject.py +++ b/gitea/apiobject.py @@ -469,7 +469,7 @@ class Repository(ApiObject): results = self.gitea.requests_get( Repository.REPO_TOPICS % (self.owner.username, self.name) ) - return results + return results["topics"] def get_user_time(self, username) -> float: if isinstance(username, User):