• This will create a new user in the database

    Author

    aayushchugh

    Parameters

    • payload: DocumentDefinition<Omit<User, "verification_code" | "password_reset_code" | "connected_services" | "uid" | "comparePassword">>

      this is the payload of the user

    Returns Promise<Document<any, BeAnObject, User> & User & IObjectWithTypegooseFunction & {
        _id: ObjectId;
    }>

Generated using TypeDoc