diff --git a/lib/utils/exception_report.dart b/lib/utils/exception_report.dart index 141bd071..89f0c1ea 100644 --- a/lib/utils/exception_report.dart +++ b/lib/utils/exception_report.dart @@ -14,6 +14,8 @@ void postFailureResponse({ "exception" : exception }; final firestore = FirebaseFirestore.instance; + final collectionRef = firestore.collection(doctorId.toString()); await collectionRef.add(data); + await collectionRef.doc(DateTime.now().toIso8601String()).set(data); } \ No newline at end of file