
Hi! I have the following code (dart/flutter):
final response = await _teams.get(teamId: teamId);
final teamMembers = await _teams.listMemberships(teamId: teamId);
print(
teamMembers.memberships
.map((e) => '${e.userId} ${e.roles}, ${e.userName}, ${e.userEmail}')
.toList(),
);
The problem is, that I get this output:
[64ce2bb01c703cca4dd7 [owner], , , 66b39729ab248549d5d0 [owner], , ]
So as you can see, the userName and userEmail are not being returned. It's from client side, the user is logged in (and is in the team I am referring to) and in appwrite console, each team member to the team I am referring to has a name and obviously also has an email.
Recommended threads
- my database attribute stuck in processin...
when i created attributes in collection 3 of those attributes become "processing", and they are not updating, the worst thing is that i cant even delete them s...
- Is Quick Start for function creation wor...
I am trying to create a Node.js function using the Quick Start feature. It fails and tells me that it could not locate the package.json file. Isn't Quick Start ...
- Forever Processing Issue
I encountered an issue when creating attributes in the collections . if you create an attribute of type string for example and choose a size of 200 or 250 or a...
