feat: add org id and user id to dowgrade feedback

This commit is contained in:
Arman
2024-03-06 17:24:20 +01:00
parent 5a2270564c
commit e4780be358
@@ -53,11 +53,13 @@
from: tierToPlan($organization.billingPlan).name,
to: tierToPlan($changeOrganizationTier.billingPlan).name,
email: $user.email,
message: $changeOrganizationTier.feedbackMessage,
reason: feedbackDowngradeOptions.find(
(option) =>
option.value === $changeOrganizationTier.feedbackDowngradeReason
)?.label
)?.label,
orgId: $organization.$id,
userId: $user.$id,
message: $changeOrganizationTier?.feedbackMessage ?? ''
})
});