Skip to content

Commit

Permalink
Merge pull request #24 from NicolasBarbey/fix/response
Browse files Browse the repository at this point in the history
fix response callback
  • Loading branch information
NicolasBarbey authored Aug 29, 2023
2 parents 0147990 + 623103d commit 10fc7e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Config/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<language>fr_FR</language>
<language>en_US</language>
</languages>
<version>2.0.0</version>
<version>2.0.1</version>
<authors>
<author>
<name>Thelia</name>
Expand Down
2 changes: 1 addition & 1 deletion Controller/CmcicPayResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ public function receiveResponse(EventDispatcherInterface $eventDispatcher)
*/
$log->setDestinations("\\Thelia\\Log\\Destination\\TlogDestinationRotatingFile");

return Response::create(
return new Response(
sprintf(CmCIC::CMCIC_CGI2_RECEIPT, $response),
200,
array(
Expand Down

0 comments on commit 10fc7e5

Please sign in to comment.