- Input (input)
+ Context
= {
diff --git a/apps/labrinth/src/routes/internal/moderation/tech_review/rules_scan.rs b/apps/labrinth/src/routes/internal/moderation/tech_review/rules_scan.rs
index 99d573803f..ed39d82193 100644
--- a/apps/labrinth/src/routes/internal/moderation/tech_review/rules_scan.rs
+++ b/apps/labrinth/src/routes/internal/moderation/tech_review/rules_scan.rs
@@ -114,7 +114,7 @@ pub struct DelphiRuleSchemaResponse {
pub components: BTreeMap,
}
-/// Get the schemas for the CEL input and output values.
+/// Get the schemas for the CEL context and output values.
#[utoipa::path(
context_path = "/moderation/tech-review",
tag = "moderation",
@@ -800,12 +800,24 @@ async fn insert_materialized_effects(
pub(super) fn evaluate_rule(
program: &cel::Program,
- input: impl Serialize,
+ input: &RuleInput,
) -> Result