Skip to content

Commit

Permalink
Fix compatibility issues with magento 2.4.6
Browse files Browse the repository at this point in the history
  • Loading branch information
AleksandrsKondratjevs committed Apr 4, 2023
1 parent 3f1e8f0 commit 9040509
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Query/QueryProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 9040509

Please sign in to comment.