added create user?
This commit is contained in:
parent
8fe9d08b2d
commit
844fe88802
|
@ -77,7 +77,7 @@ export const createuser = newEndpoint(opts, async (req, auth) => {
|
||||||
creatorVolumeCached: { daily: 0, weekly: 0, monthly: 0, allTime: 0 },
|
creatorVolumeCached: { daily: 0, weekly: 0, monthly: 0, allTime: 0 },
|
||||||
followerCountCached: 0,
|
followerCountCached: 0,
|
||||||
followedCategories: DEFAULT_CATEGORIES,
|
followedCategories: DEFAULT_CATEGORIES,
|
||||||
showWelcome: true,
|
shouldShowWelcome: true,
|
||||||
}
|
}
|
||||||
|
|
||||||
await firestore.collection('users').doc(auth.uid).create(user)
|
await firestore.collection('users').doc(auth.uid).create(user)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user