aboutsummaryrefslogtreecommitdiffstats
path: root/src/config/mod.rs
diff options
context:
space:
mode:
authorrtkay123 <dev@kanjala.com>2026-02-02 17:09:32 +0200
committerrtkay123 <dev@kanjala.com>2026-02-02 17:09:32 +0200
commit1f76530bc5001d9a9088f269db6c03cf287b67e6 (patch)
tree99b4873b9813570236fdc4bb71c444c958036e58 /src/config/mod.rs
parent549d98f3b457ddfc6dffbe2fad406da4ac50ebc7 (diff)
downloadsellershut-1f76530bc5001d9a9088f269db6c03cf287b67e6.tar.bz2
sellershut-1f76530bc5001d9a9088f269db6c03cf287b67e6.zip
feat: create auth session
Diffstat (limited to 'src/config/mod.rs')
-rw-r--r--src/config/mod.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/config/mod.rs b/src/config/mod.rs
index aa6f770..0c53f08 100644
--- a/src/config/mod.rs
+++ b/src/config/mod.rs
@@ -74,7 +74,7 @@ pub struct DiscordOauth {
#[cfg(feature = "oauth-discord")]
fn discord_token_url() -> Url {
- Url::parse("https://discord.com/api/oauth2/authorize?response_type=code").expect("valid url")
+ Url::parse("https://discord.com/api/oauth2/token").expect("valid url")
}
#[cfg(feature = "oauth-discord")]
@@ -195,6 +195,7 @@ impl Config {
if let Some(db_url) = &cli.db {
dsn.url = db_url.clone();
}
+
}
}