Continued with the same updates
This commit is contained in:
@@ -53,6 +53,7 @@ async function login(req: NextApiRequest, res: NextApiResponse) {
|
||||
focus: "academic",
|
||||
type: codeData.type,
|
||||
subscriptionExpirationDate: codeData.expiryDate,
|
||||
registrationDate: new Date(),
|
||||
};
|
||||
|
||||
await setDoc(doc(db, "users", userId), user);
|
||||
|
||||
Reference in New Issue
Block a user