diff --git a/src/Query/QueryProcessor.php b/src/Query/QueryProcessor.php index f9197cd..43d9e76 100644 --- a/src/Query/QueryProcessor.php +++ b/src/Query/QueryProcessor.php @@ -106,7 +106,7 @@ public function process( DebugFlag::INCLUDE_DEBUG_MESSAGE : 0 ); - $this->response->setHeader('Query-Complexity', $queryComplexity->getQueryComplexity(), true); + $this->response->setHeader('Query-Complexity', $queryComplexity->getMaxQueryComplexity(), true); return $result; }