mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 19:44:20 +00:00
Stuffy stuff
This commit is contained in:
parent
5cce6cfdae
commit
15996e79f7
2 changed files with 4 additions and 1 deletions
|
@ -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()
|
||||
|
|
|
@ -7,6 +7,9 @@ from starlette.responses import Response, HTMLResponse
|
|||
from royalnet.version import semantic
|
||||
|
||||
|
||||
backtick = "\u0060"
|
||||
|
||||
|
||||
class DocsStar(PageStar):
|
||||
path = "/docs"
|
||||
|
||||
|
|
Loading…
Reference in a new issue