mirror of
https://github.com/silverstripe/silverstripe-textextraction
synced 2024-10-22 11:06:00 +02:00
Merge pull request #77 from creative-commoners/pulls/3/stop-using-depr
API Stop using deprecated API
This commit is contained in:
commit
a281114ed2
@ -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