mirror of
https://github.com/penpot/penpot.git
synced 2025-07-23 13:07:23 +02:00
Merge remote-tracking branch 'origin/staging' into develop
This commit is contained in:
commit
e1d1ecbc24
89 changed files with 2234 additions and 725 deletions
|
@ -612,7 +612,7 @@
|
|||
"insert into team_invitation(team_id, email_to, role, valid_until)
|
||||
values (?, ?, ?, ?)
|
||||
on conflict(team_id, email_to) do
|
||||
update set role = ?, updated_at = now();")
|
||||
update set role = ?, valid_until = ?, updated_at = now();")
|
||||
|
||||
(defn- create-invitation-token
|
||||
[cfg {:keys [profile-id valid-until team-id member-id member-email role]}]
|
||||
|
@ -683,7 +683,7 @@
|
|||
{:id (:id member)})))
|
||||
(do
|
||||
(db/exec-one! conn [sql:upsert-team-invitation
|
||||
(:id team) (str/lower email) (name role) expire (name role)])
|
||||
(:id team) (str/lower email) (name role) expire (name role) expire])
|
||||
(eml/send! {::eml/conn conn
|
||||
::eml/factory eml/invite-to-team
|
||||
:public-uri (cf/get :public-uri)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue