Skip to content

Commit

Permalink
feat(temp_user, list): debug temp_user_list when a user nom and preno…
Browse files Browse the repository at this point in the history
…m are null
  • Loading branch information
jacquesfize committed Apr 3, 2024
1 parent 393cb32 commit 8b80901
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/temp_users/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def temp_users_list():
temp_users = []
for d in data:
temp_user = d.as_dict()
temp_user["full_name"] = temp_user["nom_role"] + " " + temp_user["prenom_role"]
temp_user["full_name"] = f"{temp_user['nom_role']} {temp_user['prenom_role']}"
app = db.session.query(TApplications).get(temp_user["id_application"])
temp_user["app_name"] = None
if app:
Expand Down

0 comments on commit 8b80901

Please sign in to comment.