Comparing version 1.0.3 to 1.0.4
@@ -49,3 +49,3 @@ const axios = require("axios").default; | ||
var qr = qs.stringify(query); | ||
var uri = (qr == null ? `${endpoint}` : `${endpoint}?${qr}`) | ||
var uri = (query == null ? `${endpoint}` : `${endpoint}?${qr}`) | ||
api.get(uri, apiCookie).then(rest => { | ||
@@ -72,3 +72,3 @@ return resolve(rest.data) | ||
var qr = qs.stringify(query); | ||
var uri = (qr == null ? `${endpoint}` : `${endpoint}?${qr}`) | ||
var uri = (query == null ? `${endpoint}` : `${endpoint}?${qr}`) | ||
api.get(uri, conf).then(rest => { | ||
@@ -88,3 +88,3 @@ return resolve(rest.data) | ||
//var bd = body; | ||
var uri = (qr == null ? `${endpoint}` : `${endpoint}?${qr}`) | ||
var uri = (query == null ? `${endpoint}` : `${endpoint}?${qr}`) | ||
api.post(uri, body, apiCookie).then(rest => { | ||
@@ -112,3 +112,3 @@ return resolve(rest.data) | ||
//var bd = body; | ||
var uri = (qr == null ? `${endpoint}` : `${endpoint}?${qr}`) | ||
var uri = (query == null ? `${endpoint}` : `${endpoint}?${qr}`) | ||
api.post(uri, body, conf).then(rest => { | ||
@@ -115,0 +115,0 @@ return resolve(rest.data) |
{ | ||
"name": "botrest", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "rest api for development bots", | ||
@@ -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
21152