Added echo

This commit is contained in:
neerholt
2021-03-22 09:42:17 +01:00
parent 171e0a3765
commit da17b17fd9
7 changed files with 34 additions and 13 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ if(isset($_POST['1Vote'])){
}
}
}else{
http_response_code(400);
echo http_response_code(400);
}
+1 -1
View File
@@ -8,5 +8,5 @@ if(isLogin()){
echo Vote::where('group_id',groupViaToken($_SESSION['token'])->id)->get()->toJson(JSON_PRETTY_PRINT);
}else{
http_response_code(401);
echo http_response_code(401);
}
+1 -1
View File
@@ -29,6 +29,6 @@ if(isAdmin() && isset($_GET['gameJamId'])){
}else{
http_response_code(401);
echo http_response_code(401);
}