From 06a3777f7d713d0421abbf551416a3a653b252b1 Mon Sep 17 00:00:00 2001 From: Camille Reaves Date: Sat, 23 Sep 2023 16:37:45 -0400 Subject: [PATCH] Update sprout.js --- public/sprout.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/sprout.js b/public/sprout.js index 51f31c7..109a2e9 100644 --- a/public/sprout.js +++ b/public/sprout.js @@ -179,7 +179,7 @@ async function testUserEmail(testEmail){ } async function testUserName(testUsername){ - const docCheck = await getDoc(doc(db, newUserRequest, testUsername)); + const docCheck = await newUserRequest.getDoc(testUsername); if (!query.empty) { count = query.data().count;