mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-04 08:27:46 +08:00
修复 usage 详情 body 引用解包
This commit is contained in:
@@ -58,7 +58,9 @@ pub(super) async fn admin_usage_resolve_body_value(
|
||||
| Some(UsageBodyCaptureState::Unavailable)
|
||||
| Some(UsageBodyCaptureState::None) => return Ok(None),
|
||||
Some(UsageBodyCaptureState::Inline) | Some(UsageBodyCaptureState::Truncated) => {
|
||||
return Ok(inline_body.cloned());
|
||||
if inline_body.is_some() {
|
||||
return Ok(inline_body.cloned());
|
||||
}
|
||||
}
|
||||
Some(UsageBodyCaptureState::Reference) | None => {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user