Improve options handling on db module

This commit is contained in:
Andrey Antukh 2023-11-30 13:11:36 +01:00 committed by Andrés Moya
parent 6bff6d24b9
commit 0a77bae8a7
5 changed files with 41 additions and 23 deletions

View file

@ -105,7 +105,7 @@
::quotes/team-id team-id})
;; 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.