mirror of
https://github.com/penpot/penpot.git
synced 2026-04-25 11:18:36 +00:00
🐛 Fix column name mismatch when accepting org invitation
This commit is contained in:
parent
d384f47253
commit
7d4092eeba
@ -134,7 +134,7 @@
|
||||
(db/delete! conn :team-invitation
|
||||
(cond-> {:email-to member-email}
|
||||
team-id (assoc :team-id team-id)
|
||||
organization-id (assoc :organization-id organization-id)))
|
||||
organization-id (assoc :org-id organization-id)))
|
||||
|
||||
;; Delete any request (only applicable for team invitations)
|
||||
(when team-id
|
||||
@ -173,7 +173,7 @@
|
||||
(let [invitation (db/get* conn :team-invitation
|
||||
(cond-> {:email-to member-email}
|
||||
team-id (assoc :team-id team-id)
|
||||
organization-id (assoc :organization-id organization-id)))
|
||||
organization-id (assoc :org-id organization-id)))
|
||||
profile (db/get* conn :profile
|
||||
{:id profile-id}
|
||||
{:columns [:id :email :default-team-id]})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user