diff --git a/CHANGES.md b/CHANGES.md index 864784259..8877d4b4e 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,8 @@ +# Version 1.4.1 + +## Fixes +- Add missing parameters required for custom email templates [#6077](https://github.com/appwrite/appwrite/pull/6077) + # Version 1.4.0 ## Features diff --git a/app/controllers/api/teams.php b/app/controllers/api/teams.php index 23ce9f324..c5dd3eed1 100644 --- a/app/controllers/api/teams.php +++ b/app/controllers/api/teams.php @@ -610,7 +610,7 @@ App::post('/v1/teams/:teamId/memberships') 'bg-content' => '#ffffff', 'text-content' => '#000000', /* {{user}} ,{{team}}, {{project}} and {{redirect}} are required in the templates */ - 'user' => $user->getAttribute('name'), + 'user' => $user->getAttribute('name'), 'team' => $team->getAttribute('name'), 'project' => $projectName, 'redirect' => $url