mirror of
https://github.com/docmost/docmost.git
synced 2026-08-24 00:02:19 +10:00
feat(integrations): add SLACK_INBOUND queue and excluded auth paths
This commit is contained in:
@@ -10,6 +10,7 @@ export enum QueueName {
|
|||||||
NOTIFICATION_QUEUE = '{notification-queue}',
|
NOTIFICATION_QUEUE = '{notification-queue}',
|
||||||
INTEGRATION_QUEUE = '{integration-queue}',
|
INTEGRATION_QUEUE = '{integration-queue}',
|
||||||
AUDIT_QUEUE = '{audit-queue}',
|
AUDIT_QUEUE = '{audit-queue}',
|
||||||
|
SLACK_INBOUND = '{slack-inbound}',
|
||||||
}
|
}
|
||||||
|
|
||||||
export enum QueueJob {
|
export enum QueueJob {
|
||||||
@@ -87,4 +88,5 @@ export enum QueueJob {
|
|||||||
|
|
||||||
INTEGRATION_EVENT = 'integration-event',
|
INTEGRATION_EVENT = 'integration-event',
|
||||||
INTEGRATION_TOKEN_REFRESH = 'integration-token-refresh',
|
INTEGRATION_TOKEN_REFRESH = 'integration-token-refresh',
|
||||||
|
SLACK_EVENT = 'slack-event',
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -119,6 +119,9 @@ async function bootstrap() {
|
|||||||
'/api/workspace/joined',
|
'/api/workspace/joined',
|
||||||
'/api/workspace/find-by-email',
|
'/api/workspace/find-by-email',
|
||||||
'/api/integrations/oauth',
|
'/api/integrations/oauth',
|
||||||
|
'/api/integrations/slack/events',
|
||||||
|
'/api/integrations/slack/commands',
|
||||||
|
'/api/integrations/slack/interactivity',
|
||||||
];
|
];
|
||||||
|
|
||||||
if (
|
if (
|
||||||
|
|||||||
Reference in New Issue
Block a user