clipped2
Some checks failed
Deploy / deploy (push) Has been skipped
CI / lint (push) Successful in 7m32s
CI / test (push) Failing after 13m4s

This commit is contained in:
2025-09-01 23:33:27 +03:00
parent eaa99108a9
commit 1aace5fd19
6 changed files with 6 additions and 2 deletions

View File

@@ -52,6 +52,7 @@ pub struct Author {
}
/// Получает айди пользователя из токена в заголовке
#[allow(clippy::collapsible_if)]
pub async fn get_id_by_token(token: &str) -> Result<String, Box<dyn Error>> {
let auth_api_base = env::var("CORE_URL")?;
let query_name = "validate_jwt_token";