update
This commit is contained in:
@@ -28,6 +28,9 @@ export const api = {
|
||||
antwort: (artefakt_id, richtig) =>
|
||||
req('/api/ueben/antwort', { method: 'POST', body: JSON.stringify({ artefakt_id, richtig }) }),
|
||||
kennzahlen: (runId) => req(`/api/runs/${runId}/kennzahlen`),
|
||||
transferInfo: () => req('/api/transfer'),
|
||||
transfer: (topic, richtung) =>
|
||||
req(`/api/topics/${topic}/transfer/${richtung}`, { method: 'POST', body: '{}' }),
|
||||
}
|
||||
|
||||
export function wsVerbinden(onEvent) {
|
||||
|
||||
Reference in New Issue
Block a user