changed return field from client to data

This commit is contained in:
Fanilo-Nantenaina 2025-12-06 10:01:18 +03:00
parent 2f9b2fc1a9
commit 36554b9ebe

2
api.py
View file

@ -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: