diff --git a/app/Controller/admin/api/KeywordsController.php b/app/Controller/admin/api/KeywordsController.php index b58b43c..181ace1 100644 --- a/app/Controller/admin/api/KeywordsController.php +++ b/app/Controller/admin/api/KeywordsController.php @@ -58,7 +58,7 @@ class KeywordsController extends AbstractController public function monitorInsert(): \Psr\Http\Message\ResponseInterface { $keyword = $this->request->post('keyword'); - $ignoreUrl = $this->request->post('ignore_url'); + $ignoreUrl = $this->request->post('ignore_url', []); $query = AppKeywordsMonitor::query()->where([ ['keyword', $keyword],