Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 310 Bytes

userUpdateSpecs.md

File metadata and controls

12 lines (9 loc) · 310 Bytes

A /notify endpoint, user:update event

When Hull user is updated Hubspot contact properties should be synced.

// deps:
// this.queue

function handleUserUpdate({ user, changes = {}, segments = [] }) {
    return this.shouldSyncUser(user) && this.queue("exportUsersJob", [ user ]);
}