vars-fix-3
This commit is contained in:
parent
f042bbeb84
commit
9134a8051f
|
@ -116,7 +116,7 @@ pub async fn get_id_by_token(token: &str) -> Result<i32, Box<dyn Error>> {
|
||||||
} else {
|
} else {
|
||||||
Err(Box::new(std::io::Error::new(
|
Err(Box::new(std::io::Error::new(
|
||||||
std::io::ErrorKind::Other,
|
std::io::ErrorKind::Other,
|
||||||
format!("Request failed with status: {}", response_text),
|
format!("Request failed with status: {}", response.status()),
|
||||||
)))
|
)))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user