Remove unnecesary firebase deployment items.

This commit is contained in:
Patrick Fic
2023-02-10 14:29:22 -08:00
parent 649961c831
commit e277292194
3 changed files with 2 additions and 13 deletions

View File

@@ -28,16 +28,4 @@ exports.processSignUp = functions.auth.user().onCreate((user) => {
// Set custom user claims on this newly created user.
return admin.auth().setCustomUserClaims(user.uid, customClaims);
//exports.test = functions.auth.
// .then(() => {
// // Update real-time database to notify client to force refresh.
// const metadataRef = admin.database().ref("metadata/" + user.uid);
// // Set the refresh time to the current UTC timestamp.
// // This will be captured on the client to force a token refresh.
// return metadataRef.set({ refreshTime: new Date().getTime() });
// })
// .catch(error => {
// console.log(error);
// });
});