mirror of
https://github.com/simstudioai/sim.git
synced 2026-04-06 03:00:16 -04:00
fix(slack): use markdown format for canvas rename title_content
This commit is contained in:
@@ -83,8 +83,8 @@ export const slackEditCanvasTool: ToolConfig<SlackEditCanvasParams, SlackEditCan
|
||||
|
||||
if (params.operation === 'rename' && params.title) {
|
||||
change.title_content = {
|
||||
type: 'plain_text',
|
||||
text: params.title,
|
||||
type: 'markdown',
|
||||
markdown: params.title,
|
||||
}
|
||||
} else if (params.content && params.operation !== 'delete') {
|
||||
change.document_content = {
|
||||
|
||||
Reference in New Issue
Block a user