mirror of
https://github.com/docmost/docmost.git
synced 2026-08-19 20:31:36 +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}',
|
||||
INTEGRATION_QUEUE = '{integration-queue}',
|
||||
AUDIT_QUEUE = '{audit-queue}',
|
||||
SLACK_INBOUND = '{slack-inbound}',
|
||||
}
|
||||
|
||||
export enum QueueJob {
|
||||
@@ -87,4 +88,5 @@ export enum QueueJob {
|
||||
|
||||
INTEGRATION_EVENT = 'integration-event',
|
||||
INTEGRATION_TOKEN_REFRESH = 'integration-token-refresh',
|
||||
SLACK_EVENT = 'slack-event',
|
||||
}
|
||||
|
||||
@@ -119,6 +119,9 @@ async function bootstrap() {
|
||||
'/api/workspace/joined',
|
||||
'/api/workspace/find-by-email',
|
||||
'/api/integrations/oauth',
|
||||
'/api/integrations/slack/events',
|
||||
'/api/integrations/slack/commands',
|
||||
'/api/integrations/slack/interactivity',
|
||||
];
|
||||
|
||||
if (
|
||||
|
||||
Reference in New Issue
Block a user