Remove unnecesary firebase deployment items.
This commit is contained in:
@@ -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);
|
||||
// });
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user