Skip to content

Commit 0e56121

Browse files
authored
Update config.rs (#25)
1 parent 2817cd5 commit 0e56121

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/config.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,16 @@ pub struct Config {
1717
#[envconfig(from = "REDIS_URL", default = "redis://127.0.0.1:6379")]
1818
pub redis: String,
1919

20-
#[envconfig(from = "DUO_API")]
20+
#[envconfig(from = "DUO_API", default = "1")]
2121
pub duo_api: String,
2222

23-
#[envconfig(from = "SPOTIFY_CLIENT_ID")]
23+
#[envconfig(from = "SPOTIFY_CLIENT_ID", default = "")]
2424
pub spotify_client_id: String,
2525

26-
#[envconfig(from = "SPOTIFY_CLIENT_SECRET")]
26+
#[envconfig(from = "SPOTIFY_CLIENT_SECRET", default = "")]
2727
pub spotify_client_secret: String,
2828

29-
#[envconfig(from = "GITHUB_SECRET")]
29+
#[envconfig(from = "GITHUB_SECRET", default = "")]
3030
pub github_secret: String,
3131

3232
#[envconfig(

0 commit comments

Comments
 (0)