mirror of
https://github.com/ArthurDanjou/artdanj-api.git
synced 2026-01-24 16:50:26 +01:00
Working
This commit is contained in:
@@ -55,7 +55,7 @@ export async function UpdateGitHubReadme(): Promise<void> {
|
|||||||
let new_content = content.replace(old_stats_table, stats_table);
|
let new_content = content.replace(old_stats_table, stats_table);
|
||||||
new_content = new_content.replace(old_infos_table, infos_table)
|
new_content = new_content.replace(old_infos_table, infos_table)
|
||||||
|
|
||||||
await axios.put('https://api.github.com/repos/ArthurDanjou/arthurdanjou/contents/README.md', {
|
await axios.put('https://api.github.com/repos/ArthurDanjou/ArthurDanjou/contents/README.md', {
|
||||||
headers: {
|
headers: {
|
||||||
authorization: `Bearer ${Env.get('GITHUB_TOKEN')}`
|
authorization: `Bearer ${Env.get('GITHUB_TOKEN')}`
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user