Skip to content

Commit

Permalink
Merge pull request #7 from xxirfanx/master
Browse files Browse the repository at this point in the history
fix ig
  • Loading branch information
DikaArdnt authored Sep 14, 2023
2 parents dbc2f75 + c82fc53 commit 3e75839
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion event/message.js
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ export default async function Message(hisoka, m, chatUpdate) {
await m.reply("wait")
let req = await (await api("xfarr")).get("/api/download/instagram", { url: Func.isUrl(m.text)[0] }, "apikey")
if (req.status !== 200) return m.reply(req?.message || "error")
for (let url of req.result.media) {
for (let url of req.result) {
m.reply(url, { caption: req?.result?.caption })
}
}
Expand Down

0 comments on commit 3e75839

Please sign in to comment.