mirror of
https://github.com/silverstripe/silverstripe-textextraction
synced 2024-10-22 11:06:00 +02:00
API Stop using deprecated API
This commit is contained in:
parent
3bfa989a7e
commit
1a0cd6d6a6
@ -108,7 +108,7 @@ class TikaRestClient extends Client
|
||||
])
|
||||
);
|
||||
|
||||
return $this->mimes = Convert::json2array($response->getBody());
|
||||
return $this->mimes = json_decode($response->getBody(), true);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user