Skip to content

Commit f97e369

Browse files
committed
allow "blocks" for slack universal notifications
1 parent 28e5cac commit f97e369

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/services/UniversalNotificationService.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ const slackSchema = joi.object().keys({
4646
details: joi.object().keys({
4747
channel: joi.string().required(),
4848
text: joi.string().required(),
49+
blocks: joi.array().items(joi.object()),
4950
}).required(),
5051
}).required();
5152

0 commit comments

Comments
 (0)