Fix an embarrassing bug in getPrivateUser

This commit is contained in:
Marshall Polaris 2022-08-09 23:55:41 -07:00
parent 818c90a95e
commit 521c479abf

View File

@ -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) {