added create user?

This commit is contained in:
ingawei 2022-07-30 00:18:04 -07:00
parent 8fe9d08b2d
commit 844fe88802

View File

@ -77,7 +77,7 @@ export const createuser = newEndpoint(opts, async (req, auth) => {
creatorVolumeCached: { daily: 0, weekly: 0, monthly: 0, allTime: 0 },
followerCountCached: 0,
followedCategories: DEFAULT_CATEGORIES,
showWelcome: true,
shouldShowWelcome: true,
}
await firestore.collection('users').doc(auth.uid).create(user)