I defined a Members hook in src/backend/events.js
. This works perfectly, except the function is often called twice
export function wixMembers_onMemberUpdated(event) {
console.log("onMemberUpdated:", event.entity.loginEmail);
}
Is this a bug in the event API? Is there a way to respond only to the first call after a Member is updated?