|
@@ -107,13 +107,22 @@ class BoltService {
|
|
|
await this.client.chat.postEphemeral({
|
|
await this.client.chat.postEphemeral({
|
|
|
channel: this.channelId,
|
|
channel: this.channelId,
|
|
|
user: this.userId,
|
|
user: this.userId,
|
|
|
- blocks: [{
|
|
|
|
|
- type: 'section',
|
|
|
|
|
- text: {
|
|
|
|
|
- type: 'mrkdwn',
|
|
|
|
|
- text: `${resultPaths.join('\n')}`,
|
|
|
|
|
|
|
+ blocks: [
|
|
|
|
|
+ {
|
|
|
|
|
+ type: 'section',
|
|
|
|
|
+ text: {
|
|
|
|
|
+ type: 'mrkdwn',
|
|
|
|
|
+ text: '*検索結果 10 件',
|
|
|
|
|
+ },
|
|
|
},
|
|
},
|
|
|
- }],
|
|
|
|
|
|
|
+ {
|
|
|
|
|
+ type: 'section',
|
|
|
|
|
+ text: {
|
|
|
|
|
+ type: 'mrkdwn',
|
|
|
|
|
+ text: `${resultPaths.join('\n')}`,
|
|
|
|
|
+ },
|
|
|
|
|
+ },
|
|
|
|
|
+ ],
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|
|
|
catch {
|
|
catch {
|