changed return field from client to data
This commit is contained in:
parent
2f9b2fc1a9
commit
36554b9ebe
1 changed files with 1 additions and 1 deletions
2
api.py
2
api.py
|
|
@ -384,7 +384,7 @@ async def ajouter_client(
|
||||||
return {
|
return {
|
||||||
"success": True,
|
"success": True,
|
||||||
"message": "Client créé avec succès",
|
"message": "Client créé avec succès",
|
||||||
"client": nouveau_client
|
"data": nouveau_client
|
||||||
}
|
}
|
||||||
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue