Skip to content

Commit

Permalink
fix create route
Browse files Browse the repository at this point in the history
  • Loading branch information
SalarKhosravi committed Mar 14, 2024
1 parent 0c6b67c commit d2afbe5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/hooks/autovm/controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ public function sendCreateRequest($poolId, $templateId, $memorySize, $memoryLimi

$BackendUrl = $this->BackendUrl;
$address = [
$BackendUrl, 'admin', 'backend', 'machine', 'smart', 'pool'
$BackendUrl, 'admin', 'machine', 'smart', 'pool'
];

return Request::instance()->setAddress($address)->setHeaders($headers)->setParams($params)->getResponse()->asObject();
Expand Down

0 comments on commit d2afbe5

Please sign in to comment.