Update lib/scrapper.js
Browse files- lib/scrapper.js +1 -1
lib/scrapper.js
CHANGED
@@ -12,7 +12,7 @@ const ParametersUrl = function (parameters) {
|
|
12 |
const Copilot2Trip = async (query) => {
|
13 |
try {
|
14 |
const url = ParametersUrl("ai/copilot2trip");
|
15 |
-
const response = await axios.get(url, {"q": query);
|
16 |
if (typeof response.data === "object") {
|
17 |
response.data.author = "xtdevs";
|
18 |
return response.data;
|
|
|
12 |
const Copilot2Trip = async (query) => {
|
13 |
try {
|
14 |
const url = ParametersUrl("ai/copilot2trip");
|
15 |
+
const response = await axios.get(url, {"q": query});
|
16 |
if (typeof response.data === "object") {
|
17 |
response.data.author = "xtdevs";
|
18 |
return response.data;
|