From 5a005f6fc55221d02c73e324a12847ee872fe958 Mon Sep 17 00:00:00 2001 From: Prince Rajpoot Date: Fri, 11 Aug 2023 20:52:28 +0530 Subject: [PATCH] Minor changes --- src/controllers/help.controller.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/controllers/help.controller.ts b/src/controllers/help.controller.ts index 04a639b7..de43fda7 100644 --- a/src/controllers/help.controller.ts +++ b/src/controllers/help.controller.ts @@ -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) {