diff options
-rw-r--r-- | lib/Db/IndexesRequestBuilder.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Db/IndexesRequestBuilder.php b/lib/Db/IndexesRequestBuilder.php index 5b21a8f..3baeb44 100644 --- a/lib/Db/IndexesRequestBuilder.php +++ b/lib/Db/IndexesRequestBuilder.php @@ -122,7 +122,7 @@ class IndexesRequestBuilder extends CoreRequestBuilder { ->setLastIndex($this->getInt('indexed', $data, 0)); $index->setOptions($this->getArray('options', $data, [])); $index->setErrorCount($this->getInt('err', $data, 0)); - $index->setErrors(json_decode($data['message'], true)); + $index->setErrors($this->getArray('message', $data, [])); return $index; } |