Fix : Mise a jour et création d'un événement

This commit is contained in:
ElPoyo
2026-01-13 17:26:09 +01:00
parent 2bcd1ca4c3
commit 0f7a886cf7
5 changed files with 37 additions and 10 deletions

View File

@@ -77,6 +77,9 @@ class FirebaseFunctionsApiService implements ApiService {
// Convertir les Timestamps avant l'envoi
final convertedData = _convertTimestamps(data) as Map<String, dynamic>;
// Log pour débogage
print('[API] Calling $functionName with eventId: ${convertedData['eventId']}');
final response = await http.post(
url,
headers: headers,