summaryrefslogtreecommitdiffstats
path: root/endpoints/api.php
diff options
context:
space:
mode:
Diffstat (limited to 'endpoints/api.php')
-rw-r--r--endpoints/api.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/endpoints/api.php b/endpoints/api.php
index 4d467ff..e617625 100644
--- a/endpoints/api.php
+++ b/endpoints/api.php
@@ -381,7 +381,7 @@ if($vbox && $vbox->errors) {
if(isset($request['printr'])) {
print_r($response);
} else {
- header('Content-type', 'application/json');
+ header('Content-type: application/json');
echo(json_encode($response));
}