summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorAndrew Godwin2022-12-12 07:32:35 -0700
committerAndrew Godwin2022-12-12 11:56:49 -0700
commit5bc9ff39ac4f4a4b0d43066bce9cfde0397f3388 (patch)
tree4d4403c9f9c4d41c4db5d28e5a629056051aad0c /api
parent8ffe4bc1453660c1f211496074ebcc68c924327e (diff)
downloadtakahe-5bc9ff39ac4f4a4b0d43066bce9cfde0397f3388.tar.gz
takahe-5bc9ff39ac4f4a4b0d43066bce9cfde0397f3388.tar.bz2
takahe-5bc9ff39ac4f4a4b0d43066bce9cfde0397f3388.zip
Fix static file URLs
Diffstat (limited to 'api')
-rw-r--r--api/schemas.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/api/schemas.py b/api/schemas.py
index 97b8169..59f9a12 100644
--- a/api/schemas.py
+++ b/api/schemas.py
@@ -35,8 +35,8 @@ class Account(Schema):
note: str
avatar: str
avatar_static: str
- header: str
- header_static: str
+ header: str | None = Field(...)
+ header_static: str | None = Field(...)
locked: bool
fields: list[AccountField]
emojis: list[CustomEmoji]