This commit is contained in:
team3
2026-06-22 15:23:39 +02:00
parent 0951337a29
commit 36b7aabdb0
5 changed files with 69 additions and 23 deletions

View File

@@ -18,6 +18,11 @@ export async function fetchGuides() {
return res.json()
}
export async function fetchGuideSteps(topic) {
const res = await fetch(`${BASE}/guides/steps?topic=${encodeURIComponent(topic)}`)
return res.json()
}
export async function fetchGuideLocks(topic) {
const res = await fetch(`${BASE}/guides/locks?topic=${encodeURIComponent(topic)}`)
return res.json()