1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-27 13:34:28 +00:00

publish: 5.8.22

This commit is contained in:
Steffo 2020-06-19 18:16:50 +02:00
parent 630fc19179
commit 6af7554b7c
Signed by: steffo
GPG key ID: 896A80F55F7C97F0
3 changed files with 3 additions and 3 deletions

View file

@ -2,7 +2,7 @@
[tool.poetry] [tool.poetry]
name = "royalpack" name = "royalpack"
version = "5.8.20" version = "5.8.22"
description = "A Royalnet command pack for the Royal Games community" description = "A Royalnet command pack for the Royal Games community"
authors = ["Stefano Pigozzi <ste.pigozzi@gmail.com>"] authors = ["Stefano Pigozzi <ste.pigozzi@gmail.com>"]
license = "AGPL-3.0+" license = "AGPL-3.0+"

View file

@ -29,7 +29,7 @@ class ApiUserGetRygStar(rca.ApiStar):
raise rca.NotFoundError("No such user.") raise rca.NotFoundError("No such user.")
result = { result = {
**user.json(), **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, "fiorygi": user.fiorygi.fiorygi if user.fiorygi is not None else None,
"steam": [steam.json() for steam in user.steam], "steam": [steam.json() for steam in user.steam],
"leagueoflegends": [leagueoflegends.json() for leagueoflegends in user.leagueoflegends], "leagueoflegends": [leagueoflegends.json() for leagueoflegends in user.leagueoflegends],

View file

@ -1 +1 @@
semantic = "5.8.20" semantic = "5.8.22"