Josh's Changes
This commit is contained in:
1 parent
df06dcc0d7
commit
03825c1048
16 files changed
+216
-54
No files matched your search
@@ -28,7 +28,7 @@ function readJsonBody(): array {
|
||||
|
||||
function sendJson(array $payload, int $code = 200): void {
|
||||
http_response_code($code);
|
||||
echo json_encode($payload);
|
||||
echo json_encode($payload, familyHubJsonEncodeShellFlags());
|
||||
exit;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user