update
This commit is contained in:
@@ -94,6 +94,11 @@ export async function fetchFrageMuster(topic, baustein) {
|
||||
return jsonOrThrow(res)
|
||||
}
|
||||
|
||||
export async function fetchGrafiken(topic) {
|
||||
const res = await fetch(`${BASE}/bausteine/grafiken?topic=${encodeURIComponent(topic)}`)
|
||||
return jsonOrThrow(res)
|
||||
}
|
||||
|
||||
export async function fetchTopicFortschritt(topic) {
|
||||
const res = await fetch(`${BASE}/topics/fortschritt?topic=${encodeURIComponent(topic)}`)
|
||||
return res.json()
|
||||
|
||||
Reference in New Issue
Block a user