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

📚 Documentation: Id is used in incorrect way. #332

Closed
2 tasks done
RahulPonnuru opened this issue Nov 7, 2023 · 2 comments
Closed
2 tasks done

📚 Documentation: Id is used in incorrect way. #332

RahulPonnuru opened this issue Nov 7, 2023 · 2 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@RahulPonnuru
Copy link

💭 Description

In this documentation of react tutorial (https://appwrite.io/docs/tutorials/react/step-7)
This specific part of code (line no 37) the id used is wrong way
<button
type="button"
onClick={() =>
ideas.add({ userId: user.current.id, title, description })
}

image

It should be like
userId: user.current.$id

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

@RahulPonnuru RahulPonnuru added the documentation Improvements or additions to documentation label Nov 7, 2023
@Haimantika Haimantika mentioned this issue Nov 8, 2023
@Haimantika
Copy link
Contributor

Good catch! Thanks for raising this issue. I have opened a PR fixing it :)

@Haimantika Haimantika self-assigned this Nov 8, 2023
@Haimantika
Copy link
Contributor

Closing as it has been merged

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

No branches or pull requests

2 participants