tsk-205: Code cleanup

This commit is contained in:
kdeng00
2025-11-01 14:28:04 -04:00
parent 5c851331f6
commit 32d14f8df0
+1 -3
View File
@@ -423,12 +423,10 @@ mod tests {
}
mod util {
use std::usize;
pub async fn resp_to_bytes(
response: axum::response::Response,
) -> Result<axum::body::Bytes, axum::Error> {
axum::body::to_bytes(response.into_body(), usize::MAX).await
axum::body::to_bytes(response.into_body(), std::usize::MAX).await
}
pub async fn get_resp_data<Data>(response: axum::response::Response) -> Data