the function when i check for extra data in expres...
# general
m
the function when i check for extra data in express:
Copy code
ts
recipeList: [
      EmailPassword.init({
        ...
        override: {
          apis: apiInterface => {
            return {
              ...apiInterface,
              signUpPOST: (apiInterface) => async (input) => {
    if (apiInterface.signUpPOST === undefined) {
      throw Error('SignUpPOST is not reachable.')
    }
    // First we call the original implementation of signUpPOST.
    const response = await apiInterface.signUpPOST(input)

    // Post sign up response, we check if it was successful
    if (response.status === 'OK') {
      console.log('RESPONSE', response.user) 
      const { id, email, fullName, displayName } =
        response.user as any as FormUser, 
            }
          },
        },
      }),
      ....
  ]
2 Views