mirror of
https://github.com/penpot/penpot.git
synced 2025-02-13 02:28:18 -05:00
📎 Minor change on create team instrumentation
This commit is contained in:
parent
9abf4b126c
commit
36027583cd
1 changed files with 3 additions and 3 deletions
|
@ -425,7 +425,6 @@
|
|||
:email email
|
||||
:hint "looks like the email you invite has been repeatedly reported as spam or permanent bounce"))
|
||||
|
||||
|
||||
(db/exec-one! conn [sql:upsert-team-invitation
|
||||
(:id team) (str/lower email) (name role) token-exp (name role) token-exp])
|
||||
|
||||
|
@ -438,7 +437,6 @@
|
|||
:token itoken
|
||||
:extra-data ptoken})))
|
||||
|
||||
|
||||
;; --- Mutation: Create Team & Invite Members
|
||||
|
||||
(s/def ::emails ::us/set-of-emails)
|
||||
|
@ -463,7 +461,9 @@
|
|||
:role role)))
|
||||
|
||||
(with-meta team
|
||||
{:before-complete
|
||||
{::audit/props {:invitations (count emails)}
|
||||
|
||||
:before-complete
|
||||
#(audit-fn :cmd :submit
|
||||
:type "mutation"
|
||||
:name "invite-team-member"
|
||||
|
|
Loading…
Add table
Reference in a new issue