diff --git a/pyproject.toml b/pyproject.toml index 8b0dbdf0..27fd4a1a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,7 +2,7 @@ [tool.poetry] name = "royalpack" - version = "5.5.3" + version = "5.5.4" description = "A Royalnet command pack for the Royal Games community" authors = ["Stefano Pigozzi "] license = "AGPL-3.0+" diff --git a/royalpack/stars/api_wiki_list.py b/royalpack/stars/api_wiki_list.py index 21a02a71..c4a47095 100644 --- a/royalpack/stars/api_wiki_list.py +++ b/royalpack/stars/api_wiki_list.py @@ -10,6 +10,6 @@ from royalnet.constellation.api import * class ApiWikiListStar(ApiStar): path = "/api/wiki/list/v1" - async def api(self, data: ApiData) -> dict: + async def api(self, data: ApiData) -> JSON: pages: typing.List[WikiPage] = await asyncify(data.session.query(self.alchemy.get(WikiPage)).all) - return [page.json_list() for page in pages] + return [page.json_list() for page in sorted(pages, key=lambda p: p.title)] diff --git a/royalpack/version.py b/royalpack/version.py index 990ad572..28a1bf44 100644 --- a/royalpack/version.py +++ b/royalpack/version.py @@ -1 +1 @@ -semantic = "5.5.3" +semantic = "5.5.4"