oops
This commit is contained in:
parent
7590773710
commit
84ed2a5785
2 changed files with 2 additions and 2 deletions
|
|
@ -81,4 +81,4 @@ class UserLoader(AuthUser):
|
||||||
id: int
|
id: int
|
||||||
username: str
|
username: str
|
||||||
display_name: str
|
display_name: str
|
||||||
theme_color: int
|
color_theme: int
|
||||||
|
|
|
||||||
|
|
@ -48,7 +48,7 @@ async def health():
|
||||||
post_count = await Post.count(),
|
post_count = await Post.count(),
|
||||||
user_count = await User.active_count(),
|
user_count = await User.active_count(),
|
||||||
me = Snowflake(current_user.id).to_b32l() if current_user else None,
|
me = Snowflake(current_user.id).to_b32l() if current_user else None,
|
||||||
theme_color = current_user.theme_color if current_user else 0
|
color_theme = current_user.color_theme if current_user else 0
|
||||||
)
|
)
|
||||||
|
|
||||||
return hi
|
return hi
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue