diff --git a/lib/utils/exception_report.dart b/lib/utils/exception_report.dart index f49eba7e..1982f94d 100644 --- a/lib/utils/exception_report.dart +++ b/lib/utils/exception_report.dart @@ -15,5 +15,5 @@ void postFailureResponse({ }; final firestore = FirebaseFirestore.instance; final collectionRef = firestore.collection(doctorId); - await collectionRef.add(data); + await collectionRef.doc(DateTime.now().toIso8601String()).set(data); } \ No newline at end of file