🎉 Add the ability to copy team invitation link

This commit is contained in:
Andrey Antukh 2022-12-13 15:29:43 +01:00
parent 7d2e3a0864
commit 842463ed1b
9 changed files with 262 additions and 135 deletions

View file

@ -129,7 +129,7 @@
[{:keys [conn session] :as cfg} {:keys [profile-id token]}
{:keys [member-id team-id member-email] :as claims}]
(us/assert ::team-invitation-claims claims)
(us/verify! ::team-invitation-claims claims)
(let [invitation (db/get* conn :team-invitation
{:team-id team-id :email-to member-email})