Clippy fixes for #123

This commit is contained in:
NG (Graham) authored and NGnius committed 2026-07-05 20:38:17 +00:00
1 parent 1dc502af32
commit 0faeac9120
3 files changed
+16 -18

No files matched your search

+3 -3
View File
@@ -1,9 +1,9 @@
use actix_web::{get, web::{Data, Json}};
use oj_rc_core::persist::user::federation::DiscoveryMetadata;
const OAUTH_AUTH_URL: &'static str = "authenticate/oauth2/auth";
const OAUTH_JWKS_URL: &'static str = "authenticate/oauth2/jwks";
const OAUTH_TOKEN_URL: &'static str = "authenticate/oauth2/token";
const OAUTH_AUTH_URL: &str = "authenticate/oauth2/auth";
const OAUTH_JWKS_URL: &str = "authenticate/oauth2/jwks";
const OAUTH_TOKEN_URL: &str = "authenticate/oauth2/token";
#[get("/.well-known/openid-configuration")]
pub async fn get_openid_configuration(server_config: Data<oj_rc_core::persist::config::ServerConfig>) -> Json<DiscoveryMetadata> {