Обновить зависимости проекта
CI / Rust Checks (pull_request) Failing after 3s
CI / UI Checks (pull_request) Has been skipped
CI / Frontend E2E (pull_request) Has been skipped
CI / Deployment Manifests (pull_request) Has been skipped
CI / Deploy (pull_request) Has been skipped

This commit is contained in:
bsodfather committed 2026-07-06 22:47:24 +03:00
1 parent c7e5efa976
commit fd8571ad10
20 files changed
+773 -1073

No files matched your search

@@ -125,15 +125,15 @@ pub(super) fn validate_approval_policy(
));
}
if let Some(message) = policy.elicitation_message.as_ref() {
if message.chars().count() > 240 {
return Err(ApiError::validation_with_context(
"approval elicitation message must be at most 240 characters".to_owned(),
json!({
"field": "execution_config.approval_policy.elicitation_message",
}),
));
}
if let Some(message) = policy.elicitation_message.as_ref()
&& message.chars().count() > 240
{
return Err(ApiError::validation_with_context(
"approval elicitation message must be at most 240 characters".to_owned(),
json!({
"field": "execution_config.approval_policy.elicitation_message",
}),
));
}
Ok(())