From 92d3cbd85186a19fbe2e1f10264520cf2470b051 Mon Sep 17 00:00:00 2001 From: Arthur DANJOU Date: Sun, 20 Dec 2020 17:05:05 +0100 Subject: [PATCH] working --- app/tasks/UpdateGithubReadme.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/app/tasks/UpdateGithubReadme.ts b/app/tasks/UpdateGithubReadme.ts index 1f27c72..40de8df 100644 --- a/app/tasks/UpdateGithubReadme.ts +++ b/app/tasks/UpdateGithubReadme.ts @@ -53,11 +53,7 @@ export async function UpdateGitHubReadme(): Promise { let new_content = content.replace(old_stats_table, stats_table + '\n\n'); new_content = new_content.replace(old_infos_table, infos_table + '\n') - console.log(" NEW CONTENT ") - console.log(new_content) - console.log(" ") - - await axios.put('https://api.github.com/repos/ArthurDanjou/ArthurDanjou/contents/README.md', { + await axios.put('https://api.github.com/repos/ArthurDanjou/ArthurDanjou/contents/', { headers: { authorization: `Bearer ${Env.get('GITHUB_TOKEN')}` },