Skip to content

Commit 9c60baf

Browse files
authored
fix: deserialize config in capslock (#15) (#18)
* fix: deserialize config in capslock * fix: beautify fix
1 parent a650321 commit 9c60baf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib/config.rs

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ use serde::Deserialize;
66
use serenity::model::id;
77

88
#[derive(Deserialize, Clone)]
9+
#[serde(rename_all = "SCREAMING_SNAKE_CASE")]
910
pub struct Config {
1011
pub discord_token: String,
1112
pub spotify_username: String,

0 commit comments

Comments
 (0)