Browse Source

use generateMarkdownSectionBlocl

zahmis 5 years ago
parent
commit
bb176abd1b
1 changed files with 1 additions and 7 deletions
  1. 1 7
      src/server/service/bolt.js

+ 1 - 7
src/server/service/bolt.js

@@ -195,13 +195,7 @@ class BoltService {
             text: 'Cancel',
             text: 'Cancel',
           },
           },
           blocks: [
           blocks: [
-            {
-              type: 'section',
-              text: {
-                type: 'mrkdwn',
-                text: 'ページを作成します',
-              },
-            },
+            this.generateMarkdownSectionBlock('ページを作成します'),
             {
             {
               type: 'input',
               type: 'input',
               label: {
               label: {