Skip to content

Commit

Permalink
Update src/entities/models/dto.py
Browse files Browse the repository at this point in the history
Co-authored-by: Hans Keeler <[email protected]>
  • Loading branch information
lchen-2101 and hkeeler authored Oct 18, 2023
1 parent 1e98b4a commit c4e0cd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/entities/models/dto.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class Config:
class UserProfile(BaseModel):
first_name: str
last_name: str
leis: Set[str] = None
leis: Set[str] | None = None

def to_keycloak_user(self):
return {"firstName": self.first_name, "lastName": self.last_name}
Expand Down

0 comments on commit c4e0cd8

Please sign in to comment.