Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
RedNotSus committed Sep 15, 2024
2 parents 0042922 + 49cb897 commit dd5c2e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ app.post("/api/chat", async (req, res) => {
Authorization: `Bearer ${process.env.API_KEY}`,
"Content-Type": "application/json",
},
}
},
);

const aiResponse = response.data.choices[0].message.content;
Expand Down Expand Up @@ -104,7 +104,7 @@ async function fetchDataFromGithub(
res,
next,
baseUrl,
secondaryUrl = null
secondaryUrl = null,
) {
function isAFile(urlString) {
return urlString.trim().split("/").pop().length !== 0;
Expand Down

0 comments on commit dd5c2e7

Please sign in to comment.