diff --git a/royalnet/backpack/stars/api_user_create.py b/royalnet/backpack/stars/api_user_create.py index ca7fd35d..14aecc58 100644 --- a/royalnet/backpack/stars/api_user_create.py +++ b/royalnet/backpack/stars/api_user_create.py @@ -42,9 +42,9 @@ class ApiUserCreateStar(rca.ApiStar): email=email, avatar_url=avatar_url ) + data.session.add(user) user.set_password(password) user.add_alias(self.alchemy, username) - data.session.add(user) await data.session_commit() return user.json() diff --git a/royalnet/backpack/stars/docs.py b/royalnet/backpack/stars/docs.py index 76511c5c..a955326e 100644 --- a/royalnet/backpack/stars/docs.py +++ b/royalnet/backpack/stars/docs.py @@ -7,6 +7,9 @@ from starlette.responses import Response, HTMLResponse from royalnet.version import semantic +backtick = "\u0060" + + class DocsStar(PageStar): path = "/docs"