Skip to content

Commit

Permalink
fix const
Browse files Browse the repository at this point in the history
  • Loading branch information
mathysth committed Oct 19, 2024
1 parent 6c2fc3d commit 67c3d63
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/api/routers/instagram/instagram.router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export default async function (
const { urls } = request.query;
const urlsArray = urls.split(",");

const response = await brightDataController.getInstagramPosts(urlsArray);
const response = await instagramController.getInstagramPosts(urlsArray);
reply.send(response);
}
);
Expand Down Expand Up @@ -244,9 +244,7 @@ export default async function (
const { urls } = request.query;
const urlsArray = urls.split(",");

const response = await brightDataController.getInstagramProfile(
urlsArray
);
const response = await instagramController.getInstagramProfile(urlsArray);
reply.send(response);
}
);
Expand All @@ -267,7 +265,7 @@ export default async function (
const { urls } = request.query;
const urlsArray = urls.split(",");

const response = await brightDataController.getInstagramReels(urlsArray);
const response = await instagramController.getInstagramReels(urlsArray);
reply.send(response);
}
);
Expand Down

0 comments on commit 67c3d63

Please sign in to comment.