()
| 29 | // Lazy-initialized working group database for access checks |
| 30 | let workingGroupDb: WorkingGroupDatabase | null = null; |
| 31 | function getWorkingGroupDb(): WorkingGroupDatabase { |
| 32 | if (!workingGroupDb) { |
| 33 | workingGroupDb = new WorkingGroupDatabase(); |
| 34 | } |
| 35 | return workingGroupDb; |
| 36 | } |
| 37 | |
| 38 | // Use ADDIE_BOT_TOKEN as the primary token (fall back to SLACK_BOT_TOKEN for migration) |
| 39 | const SLACK_BOT_TOKEN = process.env.ADDIE_BOT_TOKEN || process.env.SLACK_BOT_TOKEN; |
no outgoing calls
no test coverage detected