fix(epargne): corriger URL dépôt épargne /api/paiements → /api/versements

L'endpoint de dépôt épargne est dans VersementResource, pas PaiementResource :
- Mobile appelait : POST /api/paiements/initier-depot-epargne-en-ligne → 405
- Backend expose : POST /api/versements/initier-depot-epargne
Corrigé le path + retiré le suffixe '-en-ligne' (absent du backend).
This commit is contained in:
dahoud
2026-04-16 19:08:17 +00:00
parent 36a39433c2
commit 18203f07b2

View File

@@ -141,7 +141,7 @@ class TransactionEpargneRepository {
required String numeroTelephone, required String numeroTelephone,
}) async { }) async {
final response = await _apiClient.post( final response = await _apiClient.post(
'/api/paiements/initier-depot-epargne-en-ligne', '/api/versements/initier-depot-epargne',
data: { data: {
'compteId': compteId, 'compteId': compteId,
'montant': montant, 'montant': montant,