mirror of
https://github.com/penpot/penpot.git
synced 2025-02-15 11:38:24 -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
|
:email email
|
||||||
:hint "looks like the email you invite has been repeatedly reported as spam or permanent bounce"))
|
:hint "looks like the email you invite has been repeatedly reported as spam or permanent bounce"))
|
||||||
|
|
||||||
|
|
||||||
(db/exec-one! conn [sql:upsert-team-invitation
|
(db/exec-one! conn [sql:upsert-team-invitation
|
||||||
(:id team) (str/lower email) (name role) token-exp (name role) token-exp])
|
(:id team) (str/lower email) (name role) token-exp (name role) token-exp])
|
||||||
|
|
||||||
|
@ -438,7 +437,6 @@
|
||||||
:token itoken
|
:token itoken
|
||||||
:extra-data ptoken})))
|
:extra-data ptoken})))
|
||||||
|
|
||||||
|
|
||||||
;; --- Mutation: Create Team & Invite Members
|
;; --- Mutation: Create Team & Invite Members
|
||||||
|
|
||||||
(s/def ::emails ::us/set-of-emails)
|
(s/def ::emails ::us/set-of-emails)
|
||||||
|
@ -463,7 +461,9 @@
|
||||||
:role role)))
|
:role role)))
|
||||||
|
|
||||||
(with-meta team
|
(with-meta team
|
||||||
{:before-complete
|
{::audit/props {:invitations (count emails)}
|
||||||
|
|
||||||
|
:before-complete
|
||||||
#(audit-fn :cmd :submit
|
#(audit-fn :cmd :submit
|
||||||
:type "mutation"
|
:type "mutation"
|
||||||
:name "invite-team-member"
|
:name "invite-team-member"
|
||||||
|
|
Loading…
Add table
Reference in a new issue