Revert "Return numbers as numbers on all API endpoints" (14cd6ca3bf, fixes #1564)

This commit is contained in:
Bernd Bestel
2021-08-20 21:45:56 +02:00
parent 1d5ca5ed64
commit 2c0b6368e1
3 changed files with 9 additions and 4 deletions

View File

@@ -21,7 +21,7 @@ class BaseApiController extends BaseController
$response = $response->withHeader('Cache-Control', 'max-age=2592000');
}
$response->getBody()->write(json_encode($data, JSON_NUMERIC_CHECK));
$response->getBody()->write(json_encode($data));
return $response;
}