Back

update_document

  • 0
  • Cloud
guido
12 Jun, 2024, 21:49

why does vscode throw an error for the following code?

TypeScript
    database_id = database_id,
    collection_id = collection_id,
    document_id = ID.unique,
    data = {}, 
    permissions = ["read("users")"] <- error for unclosed "["
    )
TL;DR
Developers are encountering errors in VSCode when trying to update a document in a database due to unclosed parentheses and brackets in the code. To resolve: - Make sure all parentheses and brackets are properly closed in the `update_document` function call.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more