Send the invitation as a light letter that names the community, the inviter by email, and who can read the Rule.
This commit is contained in:
1 parent
70ceb73104
commit
727a92a9ac
14 files changed
+534
-26
No files matched your search
@@ -208,7 +208,15 @@ export const POST = apiRoute(
|
||||
try {
|
||||
for (const inv of invites) {
|
||||
const verifyUrl = stakeholderInviteVerifyUrl(origin, inv.token);
|
||||
await sendRuleStakeholderInviteEmail(inv.email, verifyUrl, title);
|
||||
await sendRuleStakeholderInviteEmail({
|
||||
to: inv.email,
|
||||
verifyUrl,
|
||||
origin,
|
||||
communityName: title,
|
||||
inviterEmail: user.email,
|
||||
summary,
|
||||
document,
|
||||
});
|
||||
}
|
||||
} catch (err) {
|
||||
logRouteError("rules.publish", requestId, err, {
|
||||
|
||||
Reference in new issue
Block a user