From f7cec169302b8f59b4a3fd28a5887eac47084da3 Mon Sep 17 00:00:00 2001 From: Christophe HIMBER Date: Sun, 25 Jun 2023 23:00:44 +0200 Subject: [PATCH] Updated operation-complexity.md (#6284) --- .../src/docs/hotchocolate/v13/security/operation-complexity.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/src/docs/hotchocolate/v13/security/operation-complexity.md b/website/src/docs/hotchocolate/v13/security/operation-complexity.md index 660e3e4aebe..f8237d737ee 100644 --- a/website/src/docs/hotchocolate/v13/security/operation-complexity.md +++ b/website/src/docs/hotchocolate/v13/security/operation-complexity.md @@ -124,7 +124,7 @@ services .AddGraphQL() .ModifyRequestOptions(o => { - o.Enable = true; + o.Complexity.Enable = true; o.Complexity.MaximumAllowed = 1500; }); ```