From 21dc3b16b001a98ebe796f1d2d47f7d1d92f7ecd Mon Sep 17 00:00:00 2001 From: Christy Jacob Date: Wed, 30 Aug 2023 18:36:40 -0400 Subject: [PATCH] chore: update changelog --- CHANGES.md | 5 +++++ app/controllers/api/teams.php | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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