mirror of
https://github.com/ArthurDanjou/artdanj-api.git
synced 2026-01-14 12:14:33 +01:00
Rename project
This commit is contained in:
@@ -33,7 +33,7 @@ export default class SongsController {
|
||||
public async callback({ request, response }: HttpContextContract) {
|
||||
if (await setupSpotify(request.qs().code)) {
|
||||
return response.status(200).send({
|
||||
message: 'Athena successfully connected to Spotify',
|
||||
message: 'API successfully connected to Spotify',
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
@@ -36,7 +36,7 @@ export async function updateGithubReadmeStats(): Promise<void> {
|
||||
sha: readme.sha,
|
||||
},
|
||||
{
|
||||
reason: '📊 Updated Statistics - Athena',
|
||||
reason: '📊 Updated Statistics - API',
|
||||
error: 'Error while updating statistics',
|
||||
})
|
||||
}
|
||||
@@ -70,7 +70,7 @@ Listening from **${current_song.device_name}**\n`
|
||||
sha: readme.sha,
|
||||
},
|
||||
{
|
||||
reason: '🎵 Updated Song - Athena',
|
||||
reason: '🎵 Updated Song - API',
|
||||
error: 'Error while updating song',
|
||||
})
|
||||
}
|
||||
@@ -98,7 +98,7 @@ async function updateReadmeContent(new_readme: GithubRequest, reason: GithubReas
|
||||
content: Buffer.from(new_readme.content, 'utf8').toString('base64'),
|
||||
sha: new_readme.sha,
|
||||
author: {
|
||||
name: 'Athena - API Automation',
|
||||
name: 'API - API Automation',
|
||||
email: 'api@arthurdanjou.fr',
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user