We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3617476 commit a59f113Copy full SHA for a59f113
apps/sim/lib/webhooks/utils.server.ts
@@ -914,6 +914,8 @@ export async function formatWebhookInput(
914
let files: any[] = []
915
if (hasFiles && includeFiles && botToken) {
916
files = await downloadSlackFiles(rawFiles, botToken)
917
+ } else if (hasFiles && includeFiles && !botToken) {
918
+ logger.warn('Slack message has files and includeFiles is enabled, but no bot token provided')
919
}
920
921
return {
0 commit comments