File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import { type StepInput, withStepLogging } from "@/lib/steps/step-handler";
55import { getErrorMessage } from "@/lib/utils" ;
66import type { SuperagentCredentials } from "../credentials" ;
77
8- type GuardClassification = "allow " | "block" ;
8+ type GuardClassification = "pass " | "block" ;
99
1010type GuardResult = {
1111 classification : GuardClassification ;
@@ -66,7 +66,7 @@ async function stepHandler(
6666 const classification = content . classification ;
6767 if (
6868 ! classification ||
69- ( classification !== "allow " && classification !== "block" )
69+ ( classification !== "pass " && classification !== "block" )
7070 ) {
7171 throw new Error (
7272 `Invalid Guard API response: missing or invalid classification (received: ${ JSON . stringify ( classification ) } )`
You can’t perform that action at this time.
0 commit comments