vars-fix-3

This commit is contained in:
Untone 2023-12-13 22:36:42 +03:00
parent f042bbeb84
commit 9134a8051f

View File

@ -116,7 +116,7 @@ pub async fn get_id_by_token(token: &str) -> Result<i32, Box<dyn Error>> {
} else {
Err(Box::new(std::io::Error::new(
std::io::ErrorKind::Other,
format!("Request failed with status: {}", response_text),
format!("Request failed with status: {}", response.status()),
)))
}
}