Simulate User-creation In Firebase Functions Cli
I'm writing a function that is triggered whenever a new user is created in Firebase. Debugging this function takes me ages because I deploy the cloud function for every single chan
Solution 1:
Pass the user object to the function:
createTreeForNewUser({
uid: 'xxx',
displayName: 'John',
email: 'foo@bar.com',
photoURL: 'https://...',
metadata: {creationTime: 123}
})
Post a Comment for "Simulate User-creation In Firebase Functions Cli"