diff --git a/dist/index.mjs b/dist/index.mjs index adac8e5..12ce45a 100644 --- a/dist/index.mjs +++ b/dist/index.mjs @@ -42583,7 +42583,7 @@ function getConfig() { /** @type {Array} */ const channelConfig = Object.values(rawChannelConfig) .map(it => ({ - channelId: it.channelId, + ...it, limit: it.limit ?? 50 })) .filter(it => it.channelId && !it.disabled); diff --git a/src/workflow.mjs b/src/workflow.mjs index e112f94..223428f 100644 --- a/src/workflow.mjs +++ b/src/workflow.mjs @@ -44,7 +44,7 @@ export function getConfig() { /** @type {Array} */ const channelConfig = Object.values(rawChannelConfig) .map(it => ({ - channelId: it.channelId, + ...it, limit: it.limit ?? 50 })) .filter(it => it.channelId && !it.disabled);