Implement delete node function

This commit is contained in:
Logan
2026-05-25 20:20:50 -04:00
parent fa5c53891c
commit 5eed4e08ce
3 changed files with 35 additions and 1 deletions
+2
View File
@@ -52,6 +52,8 @@ export const c2api = {
request(`/nodes/${id}/approve`, { method: "POST" }),
rejectNode: (id: string) =>
request(`/nodes/${id}/reject`, { method: "POST" }),
deleteNode: (id: string) =>
request(`/nodes/${id}`, { method: "DELETE" }),
// Calls
getCalls: (params?: Record<string, string>) => {