From 36554b9ebecb800b347f772161b8961e5b203941 Mon Sep 17 00:00:00 2001 From: Fanilo-Nantenaina Date: Sat, 6 Dec 2025 10:01:18 +0300 Subject: [PATCH] changed return field from client to data --- api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api.py b/api.py index 555f6b7..61e9a85 100644 --- a/api.py +++ b/api.py @@ -384,7 +384,7 @@ async def ajouter_client( return { "success": True, "message": "Client créé avec succès", - "client": nouveau_client + "data": nouveau_client } except Exception as e: