Skip to content

Commit

Permalink
Update firebaseFunctions.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
ArhanAnsari authored Sep 22, 2024
1 parent fad45bc commit 06a7fb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion firebaseFunctions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export const getUserData = async (email: string): Promise<UserData | null> => {
// Function to check if the user has exceeded their request limit
export const checkUserPlanLimit = async (email: string): Promise<boolean> => {
const userData = await getUserData(email);

console.log(userData)
if (!userData) {
console.warn(`No user data found for ${email}.`);
return false;
Expand Down

0 comments on commit 06a7fb5

Please sign in to comment.