diff --git a/pyproject.toml b/pyproject.toml index 99e47c53..f75f6d8e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,7 +2,7 @@ [tool.poetry] name = "royalpack" - version = "5.8.20" + version = "5.8.22" description = "A Royalnet command pack for the Royal Games community" authors = ["Stefano Pigozzi "] license = "AGPL-3.0+" diff --git a/royalpack/stars/api_user_get_ryg.py b/royalpack/stars/api_user_get_ryg.py index 235d8210..ef5350de 100644 --- a/royalpack/stars/api_user_get_ryg.py +++ b/royalpack/stars/api_user_get_ryg.py @@ -29,7 +29,7 @@ class ApiUserGetRygStar(rca.ApiStar): raise rca.NotFoundError("No such user.") result = { **user.json(), - "bio": user.bio.json(), + "bio": user.bio.json() if user.bio is not None else None, "fiorygi": user.fiorygi.fiorygi if user.fiorygi is not None else None, "steam": [steam.json() for steam in user.steam], "leagueoflegends": [leagueoflegends.json() for leagueoflegends in user.leagueoflegends], diff --git a/royalpack/version.py b/royalpack/version.py index 0cf3cb22..3ad08f3f 100644 --- a/royalpack/version.py +++ b/royalpack/version.py @@ -1 +1 @@ -semantic = "5.8.20" +semantic = "5.8.22"