
When I try to change a user's team with createMembership and updateMembershipStatus, the user is somehow in the new team, but appwrite doesn't show a second member in the list + when I try to add any security to a document with the given team (e.g. Read Access), the user doesn't have access to it.
Running on Nuxt btw.
newRole is the Teamname
this.$appwrite.teams.createMembership(
newRole,
[
newRole, // Is this even necessary?
],
undefined,
userId,
undefined,
membershipUrl,
)
useAppwrite().teams.updateMembershipStatus(
teamId,
membershipId,
userId,
secret,
)
The appwrite call difference is because the create statement is on a page. And I handle the status update through a middleware :)
Recommended threads
- React native Google OAuth not working - ...
## Code: *Pretty much just copied from appwrite docs* ```javascript const signInWithOAuth = async (provider) => { setLoading(true); try { // Crea...
- 25 document limit
Unable to bypass the 25 document limit: https://github.com/Mooshieblob1/GenerateImagesPreview
- cant get custom domain to work with appw...
Hi, how do I get a custom domain to work? I have set database.vrtuhub.com on the appwrite console as a custom domain and did the cname record for it bit i still...
