summaryrefslogtreecommitdiff
path: root/driver/src/utils
diff options
context:
space:
mode:
Diffstat (limited to 'driver/src/utils')
-rw-r--r--driver/src/utils/fetchRideRequests.ts2
-rw-r--r--driver/src/utils/fetchUserDetails.ts1
2 files changed, 0 insertions, 3 deletions
diff --git a/driver/src/utils/fetchRideRequests.ts b/driver/src/utils/fetchRideRequests.ts
index 53e6006..b9c32e0 100644
--- a/driver/src/utils/fetchRideRequests.ts
+++ b/driver/src/utils/fetchRideRequests.ts
@@ -5,7 +5,6 @@ import { fetchUserDetails } from "./fetchUserDetails";
export const fetchRideRequests = async () => {
const user = auth.currentUser;
- console.log(user)
try {
let data: any[] = []
if (user) {
@@ -14,7 +13,6 @@ export const fetchRideRequests = async () => {
const querySnapshot = await getDocs(q);
querySnapshot.forEach((doc: DocumentData) => {
data.push(doc.data())
- console.log(doc.id, " => ", doc.data());
});
const rideReqs = data?.map(async (rideReq) => {
const passengerData: any = await fetchUserDetails(rideReq.passengerID);
diff --git a/driver/src/utils/fetchUserDetails.ts b/driver/src/utils/fetchUserDetails.ts
index a2d5cb6..4577146 100644
--- a/driver/src/utils/fetchUserDetails.ts
+++ b/driver/src/utils/fetchUserDetails.ts
@@ -12,7 +12,6 @@ export const fetchUserDetails = async (uid) => {
const querySnapshot = await getDocs(q);
querySnapshot.forEach((doc: DocumentData) => {
data = doc.data()
- console.log(doc.id, " => ", doc.data());
});
return data;
} else {