From 16b1465f4ced01ea0435e9d4f9be4b4898481cd1 Mon Sep 17 00:00:00 2001 From: ggubuk97 Date: Wed, 29 Mar 2023 17:00:59 +0900 Subject: [PATCH] Update ch05/planner/models/users.py I think that there is a typo. "username" in User class must be "password" --- ch05/planner/models/users.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ch05/planner/models/users.py b/ch05/planner/models/users.py index bc731cd..fa509b8 100644 --- a/ch05/planner/models/users.py +++ b/ch05/planner/models/users.py @@ -14,7 +14,7 @@ class Config: schema_extra = { "example": { "email": "fastapi@packt.com", - "username": "strong!!!", + "password": "strong!!!", "events": [], } }