Remove unnecesary firebase deployment items.
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"functions": {
|
"functions": {
|
||||||
"predeploy": [
|
"predeploy": [
|
||||||
"npm --prefix \"$RESOURCE_DIR\" run lint"
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -28,16 +28,4 @@ exports.processSignUp = functions.auth.user().onCreate((user) => {
|
|||||||
// Set custom user claims on this newly created user.
|
// Set custom user claims on this newly created user.
|
||||||
return admin.auth().setCustomUserClaims(user.uid, customClaims);
|
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);
|
|
||||||
// });
|
|
||||||
});
|
});
|
||||||
|
|||||||
1
firebase/functions/package-lock.json
generated
1
firebase/functions/package-lock.json
generated
@@ -4,6 +4,7 @@
|
|||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
|
"name": "functions",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"firebase-admin": "^9.5.0",
|
"firebase-admin": "^9.5.0",
|
||||||
"firebase-functions": "^3.13.2"
|
"firebase-functions": "^3.13.2"
|
||||||
|
|||||||
Reference in New Issue
Block a user