data type changes

update_flutter_3.24_pharmacy_ntervention
Sultan khan 1 year ago
parent 0b89ea91b7
commit 7b8e0ff7bd

@ -1,7 +1,7 @@
import 'package:cloud_firestore/cloud_firestore.dart';
void postFailureResponse({
required String doctorId,
required dynamic doctorId,
required String url,
required String request,
required String response,
@ -14,6 +14,6 @@ void postFailureResponse({
"exception" : exception
};
final firestore = FirebaseFirestore.instance;
final collectionRef = firestore.collection(doctorId);
final collectionRef = firestore.collection(doctorId.toString());
await collectionRef.add(data);
}
Loading…
Cancel
Save