You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 })
}
It should be like
userId: user.current.$id
👀 Have you spent some time to check if this issue has been raised before?
💭 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 })
}
It should be like
userId: user.current.$id
👀 Have you spent some time to check if this issue has been raised before?
🏢 Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: