From 22e1ef7bf4cd8e03899bf688195a8c1fc26a26fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Michael=20Miehe?= <40151420+ldericher@users.noreply.github.com> Date: Mon, 28 Mar 2022 01:00:07 +0000 Subject: [PATCH] don't require email --- api/kiwi_vpn_api/db_new/user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/kiwi_vpn_api/db_new/user.py b/api/kiwi_vpn_api/db_new/user.py index fbb6083..b8cd6ec 100644 --- a/api/kiwi_vpn_api/db_new/user.py +++ b/api/kiwi_vpn_api/db_new/user.py @@ -14,7 +14,7 @@ from .device import Device class UserBase(SQLModel): name: str = Field(primary_key=True) - email: str + email: str | None = Field(default=None) country: str | None = Field(default=None) state: str | None = Field(default=None)