Skip to content

Commit

Permalink
fix: remove test credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
64knl committed Jun 15, 2023
1 parent c79b6a0 commit b8b135b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Http/Controllers/Forwards/ForwardsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
use NotFound\Layout\Elements\LayoutTableHeader;
use NotFound\Layout\Elements\LayoutTableRow;
use NotFound\Layout\Elements\LayoutWidget;

use Sb;
class ForwardsController extends \NotFound\Framework\Http\Controllers\Controller
{
public function readAll()
Expand All @@ -26,9 +26,9 @@ public function readAll()
$table->addHeader(new LayoutTableHeader(title: 'WWW-variant actief'));

$response = Http::withHeaders([
'token' => 'B58337F3-E2E4-4003-AB7A-421B2A71D091',
])->acceptJson()->get('https://forward.siteboss.nl/api/v1/domain?token=', [
'token' => 'B58337F3-E2E4-4003-AB7A-421B2A71D091',
'token' => Sb::config('siteboss_forwards_token')
])->acceptJson()->get(Sb::config('siteboss_forwards_endpoint'). '/domain?token=', [
'token' => Sb::config('siteboss_forwards_token')
]);

if ($response->successful()) {
Expand Down

0 comments on commit b8b135b

Please sign in to comment.