1
0
Fork 0
mirror of https://codeberg.org/demostf/api.git synced 2026-06-03 18:04:08 +02:00

hook everything up into a working system

This commit is contained in:
Robin Appelman 2017-04-11 01:00:21 +02:00
commit 9024e368c7
12 changed files with 204 additions and 81 deletions

View file

@ -22,6 +22,6 @@ class RawParser {
$response = $client->post($this->parserUrl, [
'body' => fopen($path, 'r')
]);
return json_decode($response->getBody(), true);
return json_decode($response->getBody()->getContents(), true);
}
}