mirror of
https://github.com/ArthurDanjou/artdanj-api.git
synced 2026-01-21 15:31:35 +01:00
working
This commit is contained in:
@@ -59,14 +59,14 @@ export async function UpdateGitHubReadme(): Promise<void> {
|
||||
},
|
||||
json: {
|
||||
message: 'Updating recent statistics & informations',
|
||||
content: Buffer.from(new_content, 'utf-8').toString('base64'),
|
||||
content: Buffer.from(new_content, 'utf8').toString('base64'),
|
||||
sha: read_me.sha,
|
||||
author: {
|
||||
name: 'api.arthurdanjou.fr - API Automation',
|
||||
email: 'me@arthurdanjou.fr'
|
||||
}
|
||||
}
|
||||
})
|
||||
}).catch(error => console.log(error))
|
||||
}
|
||||
|
||||
function getStatus(state: boolean): string {
|
||||
|
||||
Reference in New Issue
Block a user