.
Deploy / deploy (push) Successful in 39s

This commit is contained in:
2026-05-07 21:28:32 +02:00
parent 2376ee98e7
commit bfa69f2a60
3 changed files with 3 additions and 4 deletions
+1
View File
@@ -420,6 +420,7 @@ function handleNodes($method, $id, $db) {
break;
case 'DELETE':
if ($id) {
$db->prepare("DELETE FROM node_notes WHERE node_id = ?")->execute([$id]);
$db->prepare("DELETE FROM network_nodes WHERE id = ?")->execute([$id]);
echo json_encode(['deleted' => true]);
}