return id too when fetching user data
This commit is contained in:
parent
c394de952b
commit
4476bf1ed1
1 changed files with 1 additions and 0 deletions
1
users.py
1
users.py
|
@ -79,6 +79,7 @@ class Utilisateurs(BaseDeDonnees):
|
|||
def recuperationUtilisateur(self, id: int = None, pseudo: str = None) -> dict:
|
||||
"""Retourne les informations d'un utilisateur grâce à son ID ou son pseudo (ID en priorité)."""
|
||||
recuperation = [
|
||||
"id",
|
||||
"pseudo",
|
||||
"passe",
|
||||
"metier",
|
||||
|
|
Reference in a new issue