diff --git a/api/client/ajouter.php b/api/client/ajouter.php index 8126dd0..1c59c62 100644 --- a/api/client/ajouter.php +++ b/api/client/ajouter.php @@ -38,6 +38,6 @@ $requete->close(); $idTransaction = transaction(TRANSACTION_CREATION, $_POST["idCarte"], $solde); -retour("ok", ["idTransaction" => $idTransaction]); +retour("ok", ["idTransaction" => $idTransaction, "soldeNouveau" => $solde]); ?> -- libgit2 0.21.2