Hard-coded team invitation model table in unique validation rule in InviteTeamMember action breaks application if user has overridden team invitation model using available Jetstream::useTeamInvitationModel() method.
This PR updates the validation rule to use Jetstream::teamInvitationModel() instead, so currently set invitation model table is used.
Hard-coded team invitation model table in unique validation rule in
InviteTeamMember
action breaks application if user has overridden team invitation model using availableJetstream::useTeamInvitationModel()
method.This PR updates the validation rule to use
Jetstream::teamInvitationModel()
instead, so currently set invitation model table is used.