This commit is contained in:
Marcel Pociot committed 2020-04-29 22:05:03 +02:00
1 parent 6cf206e0a2
commit b515a55325
27 files changed
+215 -253

No files matched your search

+1 -1
View File
@@ -8,7 +8,7 @@ function respond_json($responseData, int $statusCode = 200)
return str(new Response(
$statusCode,
['Content-Type' => 'application/json'],
json_encode($responseData)
json_encode($responseData, JSON_INVALID_UTF8_IGNORE)
));
}