mirror of
https://github.com/ArthurDanjou/artdanj-api.git
synced 2026-01-29 11:00:27 +01:00
Connect Athena to Spotify
This commit is contained in:
18
env.ts
18
env.ts
@@ -1,17 +1,3 @@
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validating Environment Variables
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| In this file we define the rules for validating environment variables.
|
||||
| By performing validation we ensure that your application is running in
|
||||
| a stable environment with correct configuration values.
|
||||
|
|
||||
| This file is read automatically by the framework during the boot lifecycle
|
||||
| and hence do not rename or move this file to a different location.
|
||||
|
|
||||
*/
|
||||
|
||||
import Env from '@ioc:Adonis/Core/Env'
|
||||
|
||||
export default Env.rules({
|
||||
@@ -61,4 +47,8 @@ export default Env.rules({
|
||||
WAKATIME_USER: Env.schema.string(),
|
||||
WAKATIME_KEY: Env.schema.string(),
|
||||
WAKATIME_ID: Env.schema.string(),
|
||||
|
||||
// Spotify
|
||||
SPOTIFY_ID: Env.schema.string(),
|
||||
SPOTIFY_SECRET: Env.schema.string(),
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user