fix: unblock build and slack monitor

This commit is contained in:
Peter Steinberger
2026-01-18 16:32:56 +00:00
parent 1db0384090
commit be6a3d4caf
2 changed files with 4 additions and 2 deletions

View File

@@ -26,8 +26,7 @@ import { normalizeAllowList } from "./allow-list.js";
import type { MonitorSlackOpts } from "./types.js";
const { App, HTTPReceiver } = SlackBolt;
const { App, HTTPReceiver } = SlackBolt as typeof import("@slack/bolt");
function parseApiAppIdFromAppToken(raw?: string) {
const token = raw?.trim();
if (!token) return undefined;