mirror of
https://github.com/penpot/penpot.git
synced 2025-06-08 00:21:38 +02:00
✨ Improve options handling on db module
This commit is contained in:
parent
6bff6d24b9
commit
0a77bae8a7
5 changed files with 41 additions and 23 deletions
|
@ -729,7 +729,8 @@
|
|||
(role->params role))]
|
||||
|
||||
;; Insert the invited member to the team
|
||||
(db/insert! conn :team-profile-rel params {:on-conflict-do-nothing true})
|
||||
(db/insert! conn :team-profile-rel params
|
||||
{::db/on-conflict-do-nothing? true})
|
||||
|
||||
;; If profile is not yet verified, mark it as verified because
|
||||
;; accepting an invitation link serves as verification.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue