Skip to content

Commit

Permalink
Prettified Code!
Browse files Browse the repository at this point in the history
  • Loading branch information
RedNotSus authored and actions-user committed Sep 15, 2024
1 parent 5802426 commit 49cb897
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 49cb897

Please sign in to comment.