Skip to content

Commit

Permalink
fix: signature
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander (SASh) Alexiev committed Sep 28, 2024
1 parent 7c60aad commit 4ac87b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "ampeco/omnipay-wl-valina",
"description": "Omnipay plugin for Worldline Valina",
"version": "1.2.2",
"version": "1.2.3",
"type": "library",
"license": "MIT",
"autoload": {
Expand Down
2 changes: 1 addition & 1 deletion src/Message/AbstractRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public function sendData($data): Response
$url .= $requestMethod === 'DELETE' ? '/' . $data['token'] : '';

// Prepare headers
$headers = $this->getHeaders($url, $requestMethod);
$headers = $this->getHeaders($this->getEndpoint(), $requestMethod);

// Set request body; empty for DELETE
$body = $requestMethod === 'DELETE' ? '' : json_encode($data);
Expand Down

0 comments on commit 4ac87b6

Please sign in to comment.