Login Functionality Update
This commit is contained in:
@@ -23,7 +23,7 @@ if (!isAdmin()){
|
||||
header("Access-Control-Allow-Methods: GET");
|
||||
header("Access-Control-Allow-Headers: X-Requested-With, Content-Type, Accept");
|
||||
header('Content-Type: application/json;charset=UTF-8');
|
||||
echo $find_all_keywords->pluck("key_word")->toJson(JSON_PRETTY_PRINT);
|
||||
echo json_encode(array('data' => $find_all_keywords->jsonSerialize()));
|
||||
}else{
|
||||
echo http_response_code(400);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user