Skip to content

Commit 90e83b1

Browse files
waleedlatif1claude
andcommitted
fix(slack): move error field to top level in canvas transformResponse
The error field belongs on ToolResponse, not inside the output object. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 0948986 commit 90e83b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/sim/tools/slack/canvas.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ export const slackCanvasTool: ToolConfig<SlackCanvasParams, SlackCanvasResponse>
9797
canvas_id: '',
9898
channel: '',
9999
title: '',
100-
error: data.error || 'Unknown error',
101100
},
101+
error: data.error || 'Unknown error',
102102
}
103103
}
104104

0 commit comments

Comments
 (0)