Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add() doc. need fix #64

Open
andythebreaker opened this issue Jul 17, 2023 · 1 comment
Open

add() doc. need fix #64

andythebreaker opened this issue Jul 17, 2023 · 1 comment

Comments

@andythebreaker
Copy link

on npm
doc. for add(value, key)
have example code where

add({ name: 'name', email: 'email' }).then(
      event => {
        console.log('ID Generated: ', event.target.result);
      },
      error => {
        console.log(error);
      }
    );

need to be changed to

add({ name: 'name', email: 'email' }).then(
      event => {
        console.log('ID Generated: ', event);
      },
      error => {
        console.log(error);
      }
    );
@zehawki
Copy link

zehawki commented Dec 10, 2023

Yup, Ive also run into this same and came here to report this issue and found it open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants