|
|
|
|
@ -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);
|
|
|
|
|
}
|