@@ -41,7 +41,7 @@ |
||
41 | 41 | /** |
42 | 42 | * Set it up |
43 | 43 | * @param \JaegerApp\Platforms\AbstractPlatform $platform |
44 | - * @param \JaegerApp\BackupPro\Rest $rest |
|
44 | + * @param $rest |
|
45 | 45 | */ |
46 | 46 | public function __construct(\JaegerApp\Platforms\AbstractPlatform $platform, \JaegerApp\Rest $rest) |
47 | 47 | { |
@@ -88,9 +88,9 @@ |
||
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; |