Skip to content

Commit

Permalink
Update examples/rn-connection-and-error/backend/functions/onUserCreat…
Browse files Browse the repository at this point in the history
…ion.js

Co-authored-by: LJ <81748770+elle-j@users.noreply.github.com>
  • Loading branch information
takameyer and elle-j committed Oct 31, 2023
1 parent b5a7fc3 commit c5b1d76
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@

/**
* Adds custom user data to the Users collection when a new user is created.
*
* @note
* WARNING: THIS FUNCTION EXISTS FOR DEMO PURPOSES AND SHOULD NOT BE USED IN PRODUCTION!
*/
exports = async function onUserCreation(user) {
const customUserDataCollection = context.services.get("mongodb-atlas").db("AuthExample").collection("Users");
Expand Down

0 comments on commit c5b1d76

Please sign in to comment.