Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
princerajpoot20 committed Aug 11, 2023
1 parent b44ee3d commit 5a005f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/controllers/help.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ export const fetchCommands = async (user, repo) => {
const url = `https://api.github.com/repos/${user}/${repo}/contents/openapi.yaml`;
const response = await axios.get(url, {
headers: {
'Accept': 'application/vnd.github.v3.raw',
},
Accept: 'application/vnd.github.v3.raw'
}
});
return yaml.load(response.data);
} catch (error) {
Expand Down

0 comments on commit 5a005f6

Please sign in to comment.