This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Triggered when a member is reported.
function onMemberReportCreated(handler: function): void;
handler(event: MemberReportCreatedEnvelope): void | Promise<void>
import { memberReport } from "@wix/members";
memberReport.onMemberReportCreated((event) => {
// handle your event here
});