update
This commit is contained in:
@@ -281,7 +281,7 @@ class AuthenticationRepository extends GetxController {
|
||||
final snapshot =
|
||||
await FirebaseFirestore.instance.collection('users').doc(uid).get();
|
||||
final Map<String, dynamic>? data = snapshot.data();
|
||||
tarifa = data?['tarifa'] ?? 0;
|
||||
tarifa = data?['tarifas'] ?? 0;
|
||||
} catch (e) {
|
||||
print('Error getting tarifa: $e');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user