diff --git a/v1/scraper/jobs/delete/index.php b/v1/scraper/jobs/delete/index.php index adce3f5..d65b42b 100644 --- a/v1/scraper/jobs/delete/index.php +++ b/v1/scraper/jobs/delete/index.php @@ -121,7 +121,7 @@ function buildSolrUpdateUrl(string $server, string $core, string $protocol = 'ht 'wt' => 'json' ]); - $countResponse = postJson($selectUrl, null, $SOLR_USER, $SOLR_PASS); + $countResponse = postJson($selectUrl, '', $SOLR_USER, $SOLR_PASS); $totalCount = $countResponse['response']['numFound'] ?? 0; if ($totalCount === 0) {