Skip to content

Instantly share code, notes, and snippets.

@unders
Created February 14, 2018 16:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save unders/4b66d294fcd9f75a75525e9d722a343f to your computer and use it in GitHub Desktop.
Save unders/4b66d294fcd9f75a75525e9d722a343f to your computer and use it in GitHub Desktop.
// This function works
export const appV1 = functions.https.onRequest(app);
// This function is not called when a new user is created
export const createUserProfile = functions.auth.user().onCreate( async (event) => {
console.log("createUserProfile: ", event.data);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment