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:
parent
630fc19179
commit
6af7554b7c
3 changed files with 3 additions and 3 deletions
|
@ -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+"
|
||||||
|
|
|
@ -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],
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
semantic = "5.8.20"
|
semantic = "5.8.22"
|
||||||
|
|
Loading…
Reference in a new issue