Remove obsolete endpoints (#89)
Remove endpoints api/login/token and api/login/profile --------- Co-authored-by: Thomas Peetz <thomas.peetz@cimt-ag.de> Reviewed-on: #89
This commit is contained in:
@@ -38,7 +38,7 @@ def delete_profile(db: Session, profile_id: str):
|
||||
def get_profile_details(profile: Profile) -> ProfileResponse:
|
||||
reponse: ProfileResponse = ProfileResponse(
|
||||
id=profile.id,
|
||||
user_name=str(profile.user_name)
|
||||
username=str(profile.user_name)
|
||||
)
|
||||
return reponse
|
||||
|
||||
|
||||
Reference in New Issue
Block a user