Skip to content

Commit 7ac2b8f

Browse files
authored
fix: boilertplate projects fails due to sms channel (#1189)
1 parent fb8c259 commit 7ac2b8f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

examples/advanced-project-js/src/__checks__/utils/website-groups.check.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const { CheckGroupV2, Frequency, AlertEscalationBuilder } = require('checkly/constructs')
2-
const { smsChannel, emailChannel } = require('./alert-channels')
2+
const { emailChannel } = require('./alert-channels')
33

44
// This file defines two groups, one for synthetics monitors and one for uptime
55
// monitors. Read more about group configuration at: https://www.checklyhq.com/docs/groups/
@@ -17,7 +17,7 @@ const syntheticGroup = new CheckGroupV2('check-group-synthetics', {
1717
{ amount: 2, interval: 5 }, // Send 2 reminders, 5 minutes apart
1818
{ enabled: true, percentage: 50 } // Alert if 50% of parallel runs fail
1919
),
20-
alertChannels: [emailChannel, smsChannel],
20+
alertChannels: [emailChannel],
2121
environmentVariables: [{ key: 'AUTHOR_NAME', value: 'Fric Eromm' }],
2222
concurrency: 10
2323
})

examples/advanced-project/src/__checks__/utils/website-groups.check.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { CheckGroupV2, Frequency, AlertEscalationBuilder } from 'checkly/constructs'
2-
import { smsChannel, emailChannel } from './alert-channels'
2+
import { emailChannel } from './alert-channels'
33

44
// This file defines two groups, one for synthetics monitors and one for uptime
55
// monitors. Read more about group configuration at: https://www.checklyhq.com/docs/groups/
@@ -17,7 +17,7 @@ export const syntheticGroup = new CheckGroupV2('check-group-synthetics', {
1717
{ amount: 2, interval: 5 }, // Send 2 reminders, 5 minutes apart
1818
{ enabled: true, percentage: 50 } // Alert if 50% of parallel runs fail
1919
),
20-
alertChannels: [emailChannel, smsChannel],
20+
alertChannels: [emailChannel],
2121
environmentVariables: [{ key: 'AUTHOR_NAME', value: 'Fric Eromm' }],
2222
concurrency: 10
2323
})

0 commit comments

Comments
 (0)