From dad3bc45775a155dafc2c750da09ac7d81375ab9 Mon Sep 17 00:00:00 2001 From: aynsix Date: Fri, 3 Jul 2020 17:23:15 +0300 Subject: [PATCH] fix /thesaurus/populate return --- .../Phrasea/Controller/Thesaurus/ThesaurusController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Alchemy/Phrasea/Controller/Thesaurus/ThesaurusController.php b/lib/Alchemy/Phrasea/Controller/Thesaurus/ThesaurusController.php index b31ad7e8c2..7b011b9388 100644 --- a/lib/Alchemy/Phrasea/Controller/Thesaurus/ThesaurusController.php +++ b/lib/Alchemy/Phrasea/Controller/Thesaurus/ThesaurusController.php @@ -1242,7 +1242,7 @@ class ThesaurusController extends Controller $this->getDispatcher()->dispatch(WorkerEvents::POPULATE_INDEX, new PopulateIndexEvent($data)); - return $this->app->json($data); + return $this->app->json(["status" => "success"]); } /**