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
- Retrieving Data From Backups
Hiya, I have a user requesting for data they accidentally deleted. I don't have document history built into my app. Is there a way to extract data from the auto...
- Paused project notification
Hi, how do I disable these notifications? I get them every week and they're starting to annoy me. I don't care that my project is paused.
- Free trial credit?
I understand that another person I know got a free 50 dollar credit promo as a banner in his project but I fail to see one in mine. Is such promo not for everyo...