Skip to content

πŸ“š Documentation: Id is used in incorrect way.Β #332

@RahulPonnuru

Description

@RahulPonnuru

πŸ’­ 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?

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions