Hi,
I have a flutter x cloud solution. I have a cron job running every day to check for all users that have a free trial enables and checks the date of the expiration of their free trial. If 10 days passed they will have it removed.
- The cron operates as expected
- All variables are passed as expected
- When running the user's endpoint (With the given api key) they are all returned from curl
I can't quite work out why userList is 0.
Here is my code: its too long for discord!
The problem is at
const userList = await users.list(undefined, limit, offset);
log(`Fetched ${userList.users.length} users in this batch.`);
Where it returns 0.
I can confirm there are more than 0 users
Recommended threads
- Collection require extra fields
Appwrite cloud add extra fields : message: 'Invalid document structure: Missing required attribute "68111_3_name"', this field not exist in my collection, I ha...
- AppwriteException: general_resource_bloc...
I can't access the database from my app or the Appwrite console dashboard. It's saying, '401 Access to this resource is blocked.'
- Appwrite credits
Hi, is this correct? i have 50$ credits, so it will spend those 50$ first to the pro plan and then my credit card right? Because i have the pro plan now but i s...