Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
alnutile committed Jul 22, 2024
1 parent 92b99f7 commit 379b011
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/Domains/Sources/WebSearch/GetPage.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public function handle(string $url, bool $parseHtml = true): string

$body = $results->bodyHtml();

if($parseHtml) {
if ($parseHtml) {
$body = $this->parseHtml($body);
}

Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/Sources/WebPageSourceController.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ protected function makeSource(array $validated, Collection $collection): void
'details' => $validated['details'],
'recurring' => $validated['recurring'],
'active' => $validated['active'],
'force' => $validated['force'],
'force' => data_get($validated, 'force', false),
'collection_id' => $collection->id,
'type' => $this->sourceTypeEnum,
'user_id' => $this->getUserId($collection),
Expand Down

0 comments on commit 379b011

Please sign in to comment.