<?php
require_once __DIR__ . '/db.php';

$data = json_decode(file_get_contents('php://input'), true);

$stmt = $pdo->prepare("
  DELETE FROM bol_value_presets
  WHERE id = ?
");
$stmt->execute([$data['id']]);
