mirror of
https://github.com/graphql-hive/console
synced 2026-05-23 00:58:36 +00:00
Skip previews in slack messages (#404)
This commit is contained in:
parent
d73de654eb
commit
88bc274b48
1 changed files with 4 additions and 0 deletions
|
|
@ -57,6 +57,8 @@ export class SlackCommunicationAdapter implements CommunicationAdapter {
|
|||
channel: input.channel.slackChannel!,
|
||||
text: `:bee: Hi, I received your *first* schema in project ${projectLink}, target ${targetLink} (${viewLink}):`,
|
||||
mrkdwn: true,
|
||||
unfurl_links: false,
|
||||
unfurl_media: false,
|
||||
});
|
||||
} else {
|
||||
await client.chat.postMessage({
|
||||
|
|
@ -67,6 +69,8 @@ export class SlackCommunicationAdapter implements CommunicationAdapter {
|
|||
)}* in project ${projectLink}, target ${targetLink} (${viewLink}):`,
|
||||
mrkdwn: true,
|
||||
attachments: createAttachments(input.event.changes),
|
||||
unfurl_links: false,
|
||||
unfurl_media: false,
|
||||
});
|
||||
}
|
||||
} catch (error) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue