mirror of
https://github.com/danog/TelegramApiServer.git
synced 2024-11-30 04:19:13 +01:00
cs-fix
This commit is contained in:
parent
0580754d62
commit
781766f849
@ -111,7 +111,7 @@ abstract class AbstractApiController
|
|||||||
break;
|
break;
|
||||||
case $contentType === 'application/json':
|
case $contentType === 'application/json':
|
||||||
$body = $this->request->getBody()->buffer();
|
$body = $this->request->getBody()->buffer();
|
||||||
$post = \json_decode($body, 1);
|
$post = \json_decode($body, true);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
$body = $this->request->getBody()->buffer();
|
$body = $this->request->getBody()->buffer();
|
||||||
|
Loading…
Reference in New Issue
Block a user