Skip to content

Commit

Permalink
Additional headers with informations
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkGL committed Mar 31, 2023
1 parent e1157b0 commit 58be52f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "simpaypl/simpay",
"description": "Official SimPay API",
"type": "library",
"version": "2.1.0",
"version": "2.1.1",
"license": "MIT",
"minimum-stability": "stable",
"require": {
Expand Down
2 changes: 2 additions & 0 deletions lib/Authorization.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ public function getHeaders(): array
'X-SIM-KEY' => $this->apiKey,
'X-SIM-PASSWORD' => $this->apiPassword,
'X-SIM-LANG' => $this->lang,
'X-SIM-VERSION' => '2.1.1',
'X-SIM-PLATFORM' => 'PHP',
];
}
}

0 comments on commit 58be52f

Please sign in to comment.