Files
botpress--botpress/integrations/jira/src/setup/handler.ts
T
2026-07-13 13:34:48 +08:00

12 lines
320 B
TypeScript

import { isOAuthWizardUrl } from '@botpress/common/src/oauth-wizard'
import type { Handler } from '../misc/types'
import { oauthWizardHandler } from '../oauth-wizard'
export const handler: Handler = async (props) => {
if (isOAuthWizardUrl(props.req.path)) {
return await oauthWizardHandler(props)
}
return
}