diff --git a/web/lib/firebase/users.ts b/web/lib/firebase/users.ts index 3096f00f..cf2415ab 100644 --- a/web/lib/firebase/users.ts +++ b/web/lib/firebase/users.ts @@ -54,7 +54,7 @@ export async function getUser(userId: string) { export async function getPrivateUser(userId: string) { /* eslint-disable-next-line @typescript-eslint/no-non-null-assertion */ - return (await getDoc(doc(users, userId))).data()! + return (await getDoc(doc(privateUsers, userId))).data()! } export async function getUserByUsername(username: string) {