a
This commit is contained in:
@@ -40,8 +40,9 @@ class FacialVerificationAPI {
|
||||
$request = $stmt->fetch(PDO::FETCH_ASSOC);
|
||||
*/
|
||||
$request = $assure_api->valider_token();
|
||||
|
||||
var_dump();
|
||||
exit($request);
|
||||
// exit($request);
|
||||
|
||||
if (!$request) {
|
||||
return [
|
||||
@@ -410,8 +411,8 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
|
||||
$input = json_decode(file_get_contents('php://input'), true);
|
||||
$action = $input['action'] ?? null;
|
||||
|
||||
$db = new Database();
|
||||
$api = new FacialVerificationAPI($db->getConnection());
|
||||
// $api = new FacialVerificationAPI($db->getConnection());
|
||||
$api = new FacialVerificationAPI();
|
||||
|
||||
switch ($action) {
|
||||
case 'validate_token':
|
||||
|
||||
Reference in New Issue
Block a user