Append newline at the end of responses

This commit is contained in:
whatever127 2019-09-14 18:49:41 +02:00
parent b925e9a5f6
commit 7d5bcded09

View File

@ -1,5 +1,5 @@
<?php
$webApiVersion = '0.1.0';
$webApiVersion = '0.1.1';
function sendResponse($apiResponse) {
global $webApiVersion;
@ -9,5 +9,5 @@ function sendResponse($apiResponse) {
'jsonApiVersion' => $webApiVersion,
];
echo json_encode($response);
echo json_encode($response)."\n";
}