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
- Worker functions stuck on "Fetched 0 fun...
Appwrite Version: 1.9.0 Bug Description: The appwrite-worker-functions container gets stuck in an infinite loop logging "Fetched 0 functions..." while scheduled...
- I am using s3 for app storage but is it ...
_APP_STORAGE_DEVICE=s3 puts everything to the s3 storage but i need to be able to keep the function builds and site in the local and not waste the cloud storage...
- Local Serverless Function Testing: Are D...
I have followed the instructions to get the CLI working, and have been able to log-in, initialize my project, and created a simple Python function, which calls ...