Do not attempt preloading user on guest invitation (#4790)

This commit is contained in:
Adrian Gruntkowski 2024-11-07 12:24:42 +01:00 committed by GitHub
parent e1cdbfb9ac
commit 799e163eef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -108,7 +108,7 @@ defmodule Plausible.Teams.Invitations do
:team,
:owner,
guest_memberships: [team_membership: :user],
guest_invitations: [team_invitation: :user]
guest_invitations: :team_invitation
])
{:ok, _} =
@ -131,7 +131,7 @@ defmodule Plausible.Teams.Invitations do
:team,
:owner,
guest_memberships: [team_membership: :user],
guest_invitations: [team_invitation: :user]
guest_invitations: :team_invitation
])
{:ok, _} =
@ -206,7 +206,7 @@ defmodule Plausible.Teams.Invitations do
:team,
:owner,
guest_memberships: [team_membership: :user],
guest_invitations: [team_invitation: :user]
guest_invitations: :team_invitation
])
{:ok, site_transfer} =