Updates
This commit is contained in:
Vendored
-2
@@ -59,7 +59,6 @@ function get(_a) {
|
||||
* @description make a request to datasquirel.com
|
||||
*/
|
||||
const httpResponse = yield new Promise((resolve, reject) => {
|
||||
/** @type {import("../package-shared/types").GetReqQueryObject} */
|
||||
const queryObject = {
|
||||
db: process.env.DSQL_API_DB_NAME || String(db),
|
||||
query: String(query.replace(/\n|\r|\n\r/g, "").replace(/ {2,}/g, " ")),
|
||||
@@ -70,7 +69,6 @@ function get(_a) {
|
||||
};
|
||||
const queryString = (0, serialize_query_1.default)(Object.assign({}, queryObject));
|
||||
let path = `/api/query/${user_id || grabedHostNames.user_id}/get${queryString}`;
|
||||
/** @type {https.RequestOptions} */
|
||||
const requestObject = {
|
||||
method: "GET",
|
||||
headers: {
|
||||
|
||||
Reference in New Issue
Block a user