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
@@ -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);
}