Skip to content

Commit b8ff349

Browse files
committed
configure the webhooks with all events for the moment
1 parent cfd05d6 commit b8ff349

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

utils/api/webhooks.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,11 @@ export const createWebhookConfig = (accessToken) => {
1515
'params': {
1616
'base_url': `${process.env.NEXT_PUBLIC_APP_BASE_URL}`
1717
},
18-
'all_events': false,
19-
'events': WEBHOOK_EVENTS,
18+
'all_events': true,
19+
// TODO(alishaevn): attempt to use the below again when https://github.com/assaydepot/scientist_api_v2/pull/248
20+
// is available on api prod
21+
// 'all_events': false,
22+
// 'events': WEBHOOK_EVENTS,
2023
'send_own_action_items': false,
2124
}
2225

0 commit comments

Comments
 (0)