Updating references
schedtxt_api PR / Rustfmt (pull_request) Successful in 1m17s
schedtxt_api PR / Check (pull_request) Successful in 1m24s
schedtxt_api PR / Clippy (pull_request) Successful in 1m53s

This commit is contained in:
2026-07-13 17:50:46 -04:00
parent 42b995ec21
commit caedbf124e
14 changed files with 163 additions and 171 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ pub async fn auth<B>(
let secret_key = schedtxt_models::envy::environment::get_secret_main_key().value;
let mut validation = Validation::new(jsonwebtoken::Algorithm::HS256);
validation.set_audience(&["textsender"]); // Must match exactly what's in the token
validation.set_audience(&["schedtxt"]); // Must match exactly what's in the token
let _claims = decode::<schedtxt_models::token::Claims>(
&token,
&DecodingKey::from_secret(secret_key.as_ref()),