update calendar
This commit is contained in:
@@ -62,10 +62,10 @@ Future<List<Event>> getByProId(String day) async {
|
||||
try {
|
||||
var snapshot = await FirebaseFirestore.instance
|
||||
.collection('services')
|
||||
.where('professional_id', isEqualTo: uid)
|
||||
// .where('professional_id', isEqualTo: uid)
|
||||
.where('day', isEqualTo: day.toString())
|
||||
.where('status', isEqualTo: 'aprobado')
|
||||
.orderBy('Timestamp', descending: true)
|
||||
// .orderBy('Timestamp', descending: true)
|
||||
.get();
|
||||
|
||||
List<Event> eventos = [];
|
||||
|
||||
Reference in New Issue
Block a user