From ab84bf218cdaf3198e8ebb5cb954eda7ff7d07a6 Mon Sep 17 00:00:00 2001 From: Lukas Juhrich Date: Fri, 6 Oct 2023 20:06:35 +0200 Subject: [PATCH] fix nullability of mail in user schema --- sipa/model/pycroft/schema.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sipa/model/pycroft/schema.py b/sipa/model/pycroft/schema.py index 55d86396..68261188 100644 --- a/sipa/model/pycroft/schema.py +++ b/sipa/model/pycroft/schema.py @@ -13,7 +13,7 @@ class UserData(BaseModel): name: str status: UserStatus room: str | None - mail: str + mail: str | None mail_forwarded: bool mail_confirmed: bool properties: list[str]