mirror of
https://github.com/grocy/grocy.git
synced 2025-08-15 10:14:39 +00:00
Revert "Return numbers as numbers on all API endpoints" (14cd6ca3bf
, fixes #1564)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user