🐛 Bug Report: Team Membership Create returns wrong membership #3583
Labels
bug
Something isn't working
good first issue
Good for newcomers
product / auth
Fixes and upgrades for the Appwrite Auth / Users / Teams services.
Milestone
👟 Reproduction steps
Create a team membership, I get my membership as response instead of the newly created membership.
👍 Expected behavior
Get the newly created membership as response.
👎 Actual Behavior
I get my own membership.
I think
$email and $name
should be used instead of the
$user
.Take a look at this, as this worked fine in v0.13.4 :
https://github.com/appwrite/appwrite/blob/master/app/controllers/api/teams.php#L422
appwrite/app/controllers/api/teams.php
Line 426 in cc1ddc8
🎲 Appwrite version
Version 0.15.x
💻 Operating system
Linux
🧱 Your Environment
No response
👀 Have you spent some time to check if this issue has been raised before?
🏢 Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: