This commit is contained in:
Team3
2026-06-06 22:30:14 +02:00
parent 80b964fef4
commit 07b2338e67
5 changed files with 108 additions and 1 deletions

View File

@@ -41,6 +41,11 @@ export async function deleteBausteine(topic) {
await fetch(`${BASE}/bausteine?topic=${encodeURIComponent(topic)}`, { method: 'DELETE' })
}
export async function fetchStats() {
const res = await fetch(`${BASE}/stats`)
return res.json()
}
export async function fetchProviders() {
const res = await fetch(`${BASE}/providers`)
return res.json()