binext: add type cast

Signed-off-by: Varun Patil <varunpatil@ucla.edu>
pull/579/head
Varun Patil 2023-04-14 16:08:58 -07:00
parent 24fb01edd6
commit b4a80dff55
1 changed files with 1 additions and 1 deletions

View File

@ -304,7 +304,7 @@ class BinExt
}
// Parse body
$json = json_decode($res->getBody(), true);
$json = json_decode((string) $res->getBody(), true);
if (!$json) {
throw new \Exception('failed to parse go-vod response');
}