From 7771467aa050ec76c6542ae1c13cc23880290fd3 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Fri, 24 Feb 2023 15:41:15 +0100 Subject: [PATCH] :bug: Fix missing member-id field on invitation copy-link --- backend/src/app/rpc/commands/teams.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/app/rpc/commands/teams.clj b/backend/src/app/rpc/commands/teams.clj index 9f1265ef9e..8d37d5e867 100644 --- a/backend/src/app/rpc/commands/teams.clj +++ b/backend/src/app/rpc/commands/teams.clj @@ -855,7 +855,7 @@ {:team-id team-id :email-to (str/lower email)}) (update :role keyword)) - member (profile/retrieve-profile-data-by-email pool (:email invit)) + member (profile/retrieve-profile-data-by-email pool (:email-to invit)) token (create-invitation-token cfg {:team-id (:team-id invit) :profile-id profile-id :valid-until (:valid-until invit)