Skip to content

Commit

Permalink
fix response callback
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolas Barbey committed Aug 29, 2023
1 parent 0147990 commit 623103d
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 623103d

Please sign in to comment.