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