fix adding optional ActionSet

pull/4538/head
taschenuhr 9 months ago
parent b8941403d1
commit cc09147b4b

@ -151,8 +151,7 @@ class Teams extends NotificationProvider {
};
if (dashboardUrl) {
payload.attachments.forEach(element => {
element.content.push({
payload.attachments[0].content.body.push({
"type": "ActionSet",
"actions": [
{
@ -162,7 +161,6 @@ class Teams extends NotificationProvider {
}
]
});
});
}
return payload;

Loading…
Cancel
Save