Skip to content

Commit

Permalink
Fixed issue where Zapier couldn't connect because unique constraint o…
Browse files Browse the repository at this point in the history
…f Membership with the user_email column because it was nil.
  • Loading branch information
michaelkoper committed Oct 21, 2024
1 parent 1d912ce commit b89e1bb
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ def to_proc
faux_membership = team.memberships.create(
user: faux_user,
platform_agent: true,
user_email: faux_user.email,
platform_agent_of: @application,
added_by: team.memberships.find_by(user: current_user)
)
Expand Down

0 comments on commit b89e1bb

Please sign in to comment.