replaced all panels mentions with sites

This commit is contained in:
Tony Roy 2021-03-13 15:27:29 -04:00
commit eeb904a9a0
2 changed files with 5 additions and 5 deletions

View file

@ -640,7 +640,7 @@ NETBOX_CONNECTION=
```
#### Access
To use another netbox than your default one, you can specify it with the panel-method
To use another netbox than your default one, you can specify it with the site method
```php
// UsersController
public function getIndex()

View file

@ -44,7 +44,7 @@ class HttpClient implements HttpClientInterface
{
$response = $this->getClient()->request(
'GET',
config('netbox.panels.default.url').$path,
config('netbox.sites.default.url').$path,
[
'query' => $query
]
@ -61,7 +61,7 @@ class HttpClient implements HttpClientInterface
{
$response = $this->getClient()->request(
'POST',
config('netbox.panels.default.url').$path,
config('netbox.sites.default.url').$path,
[
'form_params' => $body
]
@ -78,7 +78,7 @@ class HttpClient implements HttpClientInterface
{
$response = $this->getClient()->request(
'PUT',
config('netbox.panels.default.url').$path,
config('netbox.sites.default.url').$path,
[
'form_params' => $body
]
@ -95,7 +95,7 @@ class HttpClient implements HttpClientInterface
{
$response = $this->getClient()->request(
'DELETE',
config('netbox.panels.default.url').$path,
config('netbox.sites.default.url').$path,
[
'form_params' => $body
]