|
@@ -88,9 +88,9 @@ |
|
|
block discarded – undo |
|
88
|
88
|
$hmac = $this->getRest()->getServer()->getHmac(); |
|
89
|
89
|
$data = array_merge($this->getRequestHeaders(true), $this->getBodyData()); |
|
90
|
90
|
$auth = $hmac->setData($data) |
|
91
|
|
- ->setRoute($this->getPlatform()->getPost('api_method')) |
|
92
|
|
- ->setMethod($_SERVER['REQUEST_METHOD']) |
|
93
|
|
- ->auth($this->settings['api_key'], $this->settings['api_secret']); |
|
|
91
|
+ ->setRoute($this->getPlatform()->getPost('api_method')) |
|
|
92
|
+ ->setMethod($_SERVER['REQUEST_METHOD']) |
|
|
93
|
+ ->auth($this->settings['api_key'], $this->settings['api_secret']); |
|
94
|
94
|
|
|
95
|
95
|
if(!$auth) { |
|
96
|
96
|
return false; |
Please login to merge, or discard this patch.