diff --git a/packages/console/src/consts/webhooks.ts b/packages/console/src/consts/webhooks.ts index d82b157d6ce..14674cb7c4a 100644 --- a/packages/console/src/consts/webhooks.ts +++ b/packages/console/src/consts/webhooks.ts @@ -27,7 +27,7 @@ const isDataHookSchema = (schema: string): schema is DataHookSchema => Object.values(DataHookSchema).includes(schema as DataHookSchema); // Group DataHook events by schema -// TODO: Replace this using groupBy once Node v22 goes LTS +// TODO: Replace this using `groupBy` once Node v22 goes LTS const schemaGroupedDataHookEventsMap = dataHookEvents.reduce>( (eventGroup, event) => { const [schema] = event.split('.'); @@ -41,7 +41,7 @@ const schemaGroupedDataHookEventsMap = dataHookEvents.reduce