From 7d4092eebabc85087d5f6011570d533305912c74 Mon Sep 17 00:00:00 2001 From: Juanfran Date: Wed, 22 Apr 2026 13:29:40 +0200 Subject: [PATCH] :bug: Fix column name mismatch when accepting org invitation --- backend/src/app/rpc/commands/verify_token.clj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/app/rpc/commands/verify_token.clj b/backend/src/app/rpc/commands/verify_token.clj index e99e74c3c5..cc270b3ded 100644 --- a/backend/src/app/rpc/commands/verify_token.clj +++ b/backend/src/app/rpc/commands/verify_token.clj @@ -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]})