Socket
Socket
Sign inDemoInstall

api-builder-plugin-ms-teams-webhook

Package Overview
Dependencies
330
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.3 to 1.0.4

2

package.json
{
"name": "api-builder-plugin-ms-teams-webhook",
"version": "1.0.3",
"version": "1.0.4",
"description": "A plugin for Axway API Builder",

@@ -5,0 +5,0 @@ "author": "",

@@ -60,4 +60,25 @@ const axios = require('axios');

async function sendMsgFull(params, options) {
const { url, card } = params;
const { logger } = options;
if (!url) {
throw new Error('Missing required parameter: url');
}
if (!card) {
throw new Error('Missing required parameter: title');
}
await axios({
method: 'post',
url: url,
data: card
});
return;
}
module.exports = {
sendMsg
sendMsg,
sendMsgFull
};

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc