https://github.com/anshulsoni2010/share-note
So, the purpose of this application is to share the text notes that are editable by the creator and can be shared with everyone. But, I don't why it's not pushing the updates on the database.
Please help me
whats the exact error?
sharenote-as.vercel.app
this is the live hosted link
okay so
when user will click to share publish it then it should send the content to the database but it's not sending it
there must be an exception thrown if something goes wrong. please provide the error message.
can you run it in your local, if you don't have any problem
@darShan
I am assuming your createDocument or updateDocument would be inside a try/catch block, log the error in catch block like -
try {
// update or create calls
} catch (error) {
console.log(error.message);
}
that should print the error if something's not right.
sure gonna add it
Recommended threads