This commit is contained in:
Daniil Gentili 2024-06-30 16:08:55 +02:00
parent 0580754d62
commit 781766f849

View File

@ -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();