autopilot-node-client
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -16,7 +16,7 @@ const request = require('request'); | ||
const apRequest = (url, json, cb) => { | ||
const apRequest = (options, cb) => { | ||
const options = { | ||
timeout: 5000, | ||
method: 'POST', | ||
url: `${conf.autopilotAPIURL}/${conf.autopilotInstanceID}${url}`, | ||
method: options.method, | ||
url: `${conf.autopilotAPIURL}/${conf.autopilotInstanceID}${options.path}`, | ||
headers: { | ||
@@ -23,0 +23,0 @@ 'X-Api-Key': conf.autopilotAPIKey |
{ | ||
"name": "autopilot-node-client", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Autopilot Manhattan API", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3795