From bc52daa46a26a57ed3b6d7013dfe8816577459f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=B9=20=E6=9F=8F?= Date: Mon, 2 Dec 2024 21:59:34 +0900 Subject: [PATCH] UserOut ->add id --- backend/app/db/schemas.py | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/app/db/schemas.py b/backend/app/db/schemas.py index 5fc1f3b..a1227b9 100644 --- a/backend/app/db/schemas.py +++ b/backend/app/db/schemas.py @@ -31,6 +31,7 @@ class UserBase(BaseModel): class UserOut(BaseModel): + id: int email: str is_active: bool = True is_superuser: bool = False