randydev commited on
Commit
5a6e399
·
verified ·
1 Parent(s): 6f5d2bc

Update lib/scrapper.js

Browse files
Files changed (1) hide show
  1. lib/scrapper.js +3 -4
lib/scrapper.js CHANGED
@@ -12,12 +12,11 @@ const ParametersUrl = function (parameters) {
12
  const Copilot2Trip = async (query) => {
13
  try {
14
  const url = ParametersUrl("ai/copilot2trip");
15
- const response = await axios.get(
16
- url,
17
  params: {
18
  q: query
19
- }
20
- );
21
  if (typeof response.data === "object") {
22
  response.data.author = "xtdevs";
23
  return response.data;
 
12
  const Copilot2Trip = async (query) => {
13
  try {
14
  const url = ParametersUrl("ai/copilot2trip");
15
+ const response = await axios.get(url, {
 
16
  params: {
17
  q: query
18
+ },
19
+ });
20
  if (typeof response.data === "object") {
21
  response.data.author = "xtdevs";
22
  return response.data;