diff --git a/README.md b/README.md index ab2a052..cebaa47 100755 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# Athena 🧠 +# API 🧠 -Athena is my personal api connected to my instances +Artdanj-api is my personal api connected to my instances ## Features ✨ @@ -26,4 +26,4 @@ Athena is my personal api connected to my instances ## License 📑 Copyright © 2020 - [@ArthurDanj](https://arthurdanjou.fr) \ -This project is [MIT](https://github.com/ArthurDanjou/athena/blob/master/LICENSE) Licensed. +This project is [MIT](https://github.com/ArthurDanjou/artdanj-api/blob/master/LICENSE) Licensed. diff --git a/app/Controllers/Http/SongsController.ts b/app/Controllers/Http/SongsController.ts index a7b245f..151e7a7 100644 --- a/app/Controllers/Http/SongsController.ts +++ b/app/Controllers/Http/SongsController.ts @@ -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', }) } } diff --git a/app/Utils/UpdateGithubReadme.ts b/app/Utils/UpdateGithubReadme.ts index 2253910..389b1d6 100644 --- a/app/Utils/UpdateGithubReadme.ts +++ b/app/Utils/UpdateGithubReadme.ts @@ -36,7 +36,7 @@ export async function updateGithubReadmeStats(): Promise { 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', }, }, diff --git a/config/redis.ts b/config/redis.ts index 5edd05b..d7f2df8 100644 --- a/config/redis.ts +++ b/config/redis.ts @@ -40,7 +40,7 @@ const redisConfig: RedisConfig = { port: Env.get('REDIS_PORT'), password: Env.get('REDIS_PASSWORD', ''), db: Env.get('REDIS_DB', 0), - keyPrefix: 'athena:', + keyPrefix: 'api:', healthCheck: true, }, }, diff --git a/config/session.ts b/config/session.ts index 0825631..7918a3a 100755 --- a/config/session.ts +++ b/config/session.ts @@ -36,7 +36,7 @@ const sessionConfig: SessionConfig = { | The name of the cookie that will hold the session id. | */ - cookieName: 'athena-session', + cookieName: 'artdanj-api-session', /* |-------------------------------------------------------------------------- diff --git a/package.json b/package.json index 7c029c1..c18914b 100755 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "athena", + "name": "api", "version": "1.0.0", "private": true, "scripts": {