Skip to content

Commit 891b396

Browse files
committed
fix(slack): use markdown format for canvas rename title_content
1 parent 3ab4d8d commit 891b396

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/sim/tools/slack/edit_canvas.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ export const slackEditCanvasTool: ToolConfig<SlackEditCanvasParams, SlackEditCan
8383

8484
if (params.operation === 'rename' && params.title) {
8585
change.title_content = {
86-
type: 'plain_text',
87-
text: params.title,
86+
type: 'markdown',
87+
markdown: params.title,
8888
}
8989
} else if (params.content && params.operation !== 'delete') {
9090
change.document_content = {

0 commit comments

Comments
 (0)