Skip to content

Commit

Permalink
Merge pull request #30 from AleksandrsKondratjevs/master
Browse files Browse the repository at this point in the history
Fix compatibility issues with magento 2.4.6
  • Loading branch information
AleksandrsKondratjevs authored Apr 4, 2023
2 parents 3f1e8f0 + 9040509 commit 06b089c
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 06b089c

Please sign in to comment.