I have a function that inserts a document to a collection, but I also need to get the user id of the one who invoked the function. I use client side SDK for executing the function.
I tried the following:
`const { Client, Databases, Account } = require('node-appwrite');
const appwriteClient = new Client();
const databases = new Databases(appwriteClient);
const account = new Account(appwriteClient);`
but the account variable produces an error.
(role: applications) missing scope (account)