From 337cb476723b7477b585a862ef18f8bc60ea2cfd Mon Sep 17 00:00:00 2001 From: Dev Singh Date: Sun, 14 Jul 2024 12:05:48 -0400 Subject: [PATCH] make profile pages truly optional --- code/util/structs.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/util/structs.py b/code/util/structs.py index 571b378..d0de70d 100644 --- a/code/util/structs.py +++ b/code/util/structs.py @@ -16,9 +16,9 @@ class StudentProfileDetails(BaseModel): username: str name: str email: EmailStr - linkedin: Optional[HttpUrl] = "" - github: Optional[HttpUrl] = "" - website: Optional[HttpUrl] = "" + linkedin: Optional[HttpUrl] = None + github: Optional[HttpUrl] = None + website: Optional[HttpUrl] = None degrees: List[DegreeListing] bio: str skills: List[str]